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
  library(testthat)

  expect_false(is_jar_path("beast"))
  expect_true(is_jar_path("beast.jar"))
  expect_true(is_jar_path("launcher.jar"))
  expect_false(is_jar_path(get_default_beast2_bin_path()))
  expect_true(is_jar_path(get_default_beast2_jar_path()))

richelbilderbeek/beastier documentation built on Dec. 4, 2019, 9:13 p.m.