Learn R Programming

beastier (version 2.5)

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

Description

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

Usage

is_jar_path(path)

Value

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

Arguments

path

a string to a path

Author

Richèl J.C. Bilderbeek

Examples

Run this code
# 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())

Run the code above in your browser using DataLab