| check_functions {sits} | R Documentation |
Functions to check parameters from a specific type, for example,
for .check_chr functions the check is exclusive for character
type.
.check_that(x, ..., local_msg = NULL, msg = NULL) .check_null(x, ..., allow_null = FALSE, msg = NULL) .check_na(x, ..., allow_na = FALSE, msg = NULL) .check_names(x, ..., is_named = TRUE, msg = NULL) .check_length(x, ..., len_min = 0, len_max = 2^31, msg = NULL) .check_apply(x, fn_check, ..., msg = NULL) .check_lgl_type(x, ..., msg = NULL) .check_num_type(x, ..., msg = NULL) .check_int_type(x, ..., msg = NULL) .check_num_range(x, ..., min = -Inf, max = Inf, allow_zero = TRUE, msg = NULL) .check_chr_type(x, ..., msg = NULL) .check_chr_empty(x, ..., msg = NULL) .check_chr_choices(x, choices, ..., msg = NULL) .check_lst_type(x, ..., msg = NULL) .check_lgl( x, ..., allow_na = FALSE, len_min = 0, len_max = 2^31, allow_null = FALSE, is_named = FALSE, msg = NULL ) .check_num( x, ..., allow_na = FALSE, min = -Inf, max = Inf, allow_zero = TRUE, len_min = 0, len_max = 2^31, allow_null = FALSE, is_integer = FALSE, is_named = FALSE, msg = NULL ) .check_chr( x, ..., allow_na = FALSE, allow_empty = TRUE, choices = NULL, len_min = 0, len_max = 2^31, allow_null = FALSE, is_named = FALSE, msg = NULL ) .check_lst( x, ..., min_len = 0, max_len = 2^31, allow_null = FALSE, is_named = TRUE, fn_check = NULL, msg = NULL ) .check_file(x, ..., msg = NULL) .check_warn(expr)
x |
A |
... |
Additional parameters for |
local_msg |
A |
msg |
A |
allow_null |
A |
allow_na |
A |
is_named |
A |
len_min |
A |
len_max |
A |
fn_check |
A |
min |
A atomic |
max |
A atomic |
allow_zero |
A |
choices |
A atomic |
is_integer |
A |
allow_empty |
A |
min_len |
A |
max_len |
A |
expr |
A |