util_stop_if_not: Verify assumptions made by the code, that must be TRUE

View source: R/util_stop_if_not.R

util_stop_if_notR Documentation

Verify assumptions made by the code, that must be TRUE

Description

Verify assumptions made by the code, that must be TRUE

Usage

util_stop_if_not(..., label, label_only)

Arguments

...

see stopifnot

label

character a label for the assumptions, can be missing

label_only

logical if TRUE and label is given, the condition will not be displayed, if FALSE

Value

invisible(FALSE), if not stopped.

See Also

stopifnot

Other robustness_functions: util_as_valid_missing_codes(), util_check_one_unique_value(), util_correct_variable_use(), util_empty(), util_ensure_character(), util_ensure_in(), util_ensure_suggested(), util_expect_scalar(), util_fix_rstudio_bugs(), util_is_integer(), util_is_numeric_in(), util_is_valid_missing_codes(), util_match_arg(), util_observations_in_subgroups(), util_only_NAs(), util_warn_unordered()


dataquieR documentation built on May 29, 2024, 7:18 a.m.