is_beast2_ns_pkg_installed: Is the BEAST2 NS package installed?

Description Usage Arguments Details Value Author(s) Examples

View source: R/is_beast2_ns_pkg_installed.R

Description

Determine if the BEAST2 NS package is installed.

Usage

1
2
3
4
5
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.

Value

TRUE if the BEAST2 NS package is installed, FALSE otherwise

Author(s)

Richèl J.C. Bilderbeek

Examples

1
2
3
4
## Not run: 
  is_beast2_ns_pkg_installed()

## End(Not run)

mauricer documentation built on Sept. 8, 2021, 5:06 p.m.