check_is_ns_beast2_pkg_installed: Checks if the 'NS' BEAST2 package is installed.

View source: R/check_is_ns_beast2_pkg_installed.R

check_is_ns_beast2_pkg_installedR Documentation

Checks if the NS BEAST2 package is installed.

Description

Will stop if not.

Usage

check_is_ns_beast2_pkg_installed()

Value

nothing

Author(s)

Richèl J.C. Bilderbeek

Examples

library(babette)

# We need BEAST2 installed
if (is_beast2_installed()) {

 # Check cleanup by other functions
 beastier::check_empty_beaustier_folders()

  if (is_beast2_ns_pkg_installed()) {
    # No error If NS is installed
    if (beautier::is_on_ci()) {
      check_is_ns_beast2_pkg_installed()
    }
  }
}

richelbilderbeek/pirouette documentation built on Oct. 18, 2023, 3:09 p.m.