check_beast2: Check if 'BEAST2' is installed properly.

View source: R/check_beast2.R

check_beast2R Documentation

Check if BEAST2 is installed properly.

Description

Calls stop if BEAST2 is improperly installed

Usage

check_beast2(beast2_path = 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()
}

beastier documentation built on Nov. 7, 2023, 5:08 p.m.