Skip a test under certain conditions
Source:R/test-helpers.R
skip_if_r_cmd_check_or_not_configured.Rd
Skip a test if not running within the context of 'R CMD CHECK' or not configured to run, as determined by the value of the supplied system environment variable.
Examples
if (FALSE) { # \dontrun{
skip_if_r_cmd_check_or_not_configured()
Sys.setenv(DIMEX_RUN_HLDT_1D = "false")
skip_if_r_cmd_check_or_not_configured("DIMEX_RUN_HLDT_1D")
} # }