Is the BEAST2 NS package installed?
Source:R/is_beast2_ns_pkg_installed.R
is_beast2_ns_pkg_installed.Rd
Determine if the BEAST2 NS package is installed.
Usage
is_beast2_ns_pkg_installed(
show_warnings = FALSE,
verbose = FALSE,
beast2_folder = beastier::get_default_beast2_folder()
)
Arguments
- show_warnings
set to TRUE to show warnings
- verbose
set to TRUE for extra output, as can be used in debugging
- beast2_folder
the folder where the BEAST2 is installed. Note that this is not the folder where the BEAST2 executable is installed: the BEAST2 executable is in a subfolder. Use get_default_beast2_folder to get the default BEAST2 folder. Use get_default_beast2_bin_path to get the full path to the default BEAST2 executable. Use get_default_beast2_jar_path to get the full path to the default BEAST2 jar file.
Details
Unlike is_beast2_pkg_installed, this function does not need an internet connection. Instead, the function calls BEAST2 to read a BEAST2 XML file that uses NS.