create_beast2_version_cmd: Creates the terminal command to version a BEAST2 input file

View source: R/create_beast2_version_cmd.R

create_beast2_version_cmdR Documentation

Creates the terminal command to version a BEAST2 input file

Description

Creates the terminal command to version a BEAST2 input file

Usage

create_beast2_version_cmd(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

a character vector, of which the first element is the command (java, in this case), and the others are arguments (-jar, in this case, followed by more arguments.

Author(s)

Richèl J.C. Bilderbeek

Examples

if (is_beast2_installed()) {
  create_beast2_version_cmd()
}

richelbilderbeek/beastier documentation built on Nov. 8, 2023, 9:29 p.m.