is_jar_path: Is the path a path to the BEAST2 jar file? Does not check if...

Description Usage Arguments Value Author(s) Examples

View source: R/is_jar_path.R

Description

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

Usage

1

Arguments

path

a string to a path

Value

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

Author(s)

Richèl J.C. Bilderbeek

Examples

1
2
3
4
5
6
7
# Returns TRUE
is_jar_path("beast.jar")
is_jar_path("launcher.jar")
is_jar_path(get_default_beast2_jar_path())
# Returns FALSE
is_jar_path("beast")
is_jar_path(get_default_beast2_bin_path())

beastier documentation built on June 5, 2021, 5:06 p.m.