R/convenience.R
sc_cols_bounded_above.RdChecks that all elements from the given columns are below a certain number
sc_cols_bounded_above( object, cols, upper_bound, include_upper_bound = TRUE, ... )
| object | table with a columns specified by |
|---|---|
| cols | vector of characters of columns that are checked against the specified range |
| upper_bound | elements of the specified columns must be below this bound |
| include_upper_bound | if TRUE (default), elements are allowed to be
equal to the |
| ... | further parameters that are passed to add_sanity_check. |
list of logical vectors where TRUE indicates where the check failed. Every list entry represents one of the columns specified in cols. This might be helpful if one wants to apply a counter-measure