is_beast2_installed: Checks if BEAST2 is installed

View source: R/is_beast2_installed.R

is_beast2_installedR Documentation

Checks if BEAST2 is installed

Description

Checks if BEAST2 is installed

Usage

is_beast2_installed(
  folder_name = get_default_beast2_folder(),
  os = rappdirs::app_dir()$os
)

Arguments

folder_name

name of the folder where the BEAST2 files are put. The name of the BEAST2 binary file will be at [folder_name]/beast/bin/beast The name of the BEAST2 jar file will be at [folder_name]/beast/lib/launcher.jar

os

name of the operating system, must be unix (Linux, Mac) or win (Windows)

Value

TRUE if BEAST2 is installed

Author(s)

Richèl J.C. Bilderbeek

Examples

check_empty_beaustier_folders()

is_beast2_installed()

check_empty_beaustier_folders()

beastier documentation built on Nov. 7, 2023, 5:08 p.m.