skip_if_not_ci_or_metworx: Skip test if not on Metworx or in CI

View source: R/helpers-for-tests.R

skip_if_not_ci_or_metworxR Documentation

Skip test if not on Metworx or in CI

Description

Checks for Metworx and CI environment variables and skips the test if neither are found. This is primarily used for tests that require bbi to be installed.

Usage

skip_if_not_ci_or_metworx(.test_name)

Arguments

.test_name

Character scalar to identify the test being potentially skipped. This is printed in the skip message


metrumresearchgroup/bbr documentation built on March 29, 2025, 1:08 p.m.