is_beast2_ns_pkg_installed: Is the BEAST2 NS package installed?
Description
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()
)
Value
TRUE if the BEAST2 NS package is installed, FALSE otherwise
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.
Author
Richèl J.C. Bilderbeek
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.
Examples
Run this codeif (FALSE) {
is_beast2_ns_pkg_installed()
}
Run the code above in your browser using DataLab