Learn R Programming

beastier (version 2.5)

is_bin_path: Is the path a path to the BEAST2 binary file? Does not check if the file at that path is present

Description

Is the path a path to the BEAST2 binary file? Does not check if the file at that path is present

Usage

is_bin_path(path)

Value

TRUE if the path is a path to a BEAST2 binary file

Arguments

path

a string to a path

Author

Richèl J.C. Bilderbeek

Examples

Run this code
check_empty_beaustier_folders()

if (is_beast2_installed()) {
  # TRUE
  is_bin_path("beast")
  is_bin_path("BEAST.exe")
  is_bin_path(get_default_beast2_bin_path())
  # FALSE
  is_bin_path("launcher.jar")
  is_bin_path(get_default_beast2_jar_path())
}

check_empty_beaustier_folders()

Run the code above in your browser using DataLab