skip_if_no_vol2birdR: Skip test if vol2birdR not installed

View source: R/utils.R

skip_if_no_vol2birdRR Documentation

Skip test if vol2birdR not installed

Description

Some functions require suggested package vol2birdR to be installed. This helper function allows to skip a test if vol2birdR is not available, e.g. when running in CI. Inspired by https://testthat.r-lib.org/articles/skipping.html#helpers.

Usage

skip_if_no_vol2birdR()

Value

Invisibly returns TRUE if vol2birdR is installed, otherwise skips the test with a message "Package vol2birdR not installed".


adokter/bioRad documentation built on Feb. 1, 2024, 3:38 p.m.