check_beast2 {beastier}R Documentation

Check if BEAST2 is installed properly.

Description

Calls stop if BEAST2 is improperly installed

Usage

check_beast2(beast2_path = beastier::get_default_beast2_path())

Arguments

beast2_path

name of either a BEAST2 binary file (usually simply beast) or a BEAST2 jar file (usually has a .jar extension). Use get_default_beast2_bin_path to get the default BEAST binary file's path Use get_default_beast2_jar_path to get the default BEAST jar file's path

Value

nothing Will stop if BEAST2 is improperly installed

Author(s)

Richèl J.C. Bilderbeek

Examples

if (is_beast2_installed()) {
  check_beast2()
}

[Package beastier version 2.4.8 Index]