skip_if_testing_is_fast: Skips a test if TEST_FAST is 'true'

View source: R/tests.R

skip_if_testing_is_fastR Documentation

Skips a test if TEST_FAST is 'true'

Description

This function checks the value of TEST_FAST, if it is 'true' it skips the test otherwise it still runs the following expectations. Please note that this function is to be used in gwasrapidd development.

Usage

skip_if_testing_is_fast()

Value

Returns TRUE if the environment variable 'TEST_FAST' is set to 'false', or does not return anything but triggers the side effect of skipping the next test (with testthat).


ramiromagno/gwasrapidd documentation built on Jan. 3, 2024, 10:21 p.m.