skip_if_no_mistnet: Skip test if no mistnet

View source: R/utils.R

skip_if_no_mistnetR Documentation

Skip test if no mistnet

Description

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

Usage

skip_if_no_mistnet()

Value

Invisibly returns TRUE if MistNet is available, otherwise skips the test with a message "No MistNet".


bioRad documentation built on Oct. 20, 2023, 5:06 p.m.