get_default_beast2_path {beastier}R Documentation

Get the default BEAST2 path

Description

Get the default BEAST2 path

Usage

get_default_beast2_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 path

Author(s)

Richèl J.C. Bilderbeek

See Also

Use get_default_beast2_bin_path to get the default path to the BEAST2 binary file. Use get_default_beast2_jar_path to get the default path to the BEAST2 jar file. 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.

Examples

if (is_beast2_installed()) {
  get_default_beast2_path()
}

[Package beastier version 2.5.1 Index]