This function is supplied as a generic form of all_character, all_numeric, all_logical, and all_list.
check_inputs(class.check, ...) all_character(...) all_numeric(...) all_logical(...) all_list(...)
class.check | One of "character", "numeric", "logical", "list"
specifying what class |
---|---|
... | Unquoted names of function arguments to check |
Returns an error if the provided parameters do not match the specified class.