Skip to contents

Get the default BEAST2 jar file's path

Usage

get_default_beast2_jar_path(
  beast2_folder = get_default_beast2_folder(),
  os = rappdirs::app_dir()$os
)

Arguments

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.

os

name of the operating system, must be unix (Linux, Mac) or win (Windows)

Value

the default BEAST2 jar file's path

See also

Use get_default_beast2_folder to get the default folder in which BEAST2 is installed. Use install_beast2 with default arguments to install BEAST2 to this location.

Author

Richèl J.C. Bilderbeek

Examples

check_empty_beaustier_folders()

get_default_beast2_jar_path()
#> [1] "/github/home/.local/share/beast/lib/launcher.jar"

check_empty_beaustier_folders()