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(...)

Arguments

class.check

One of "character", "numeric", "logical", "list" specifying what class ... should be.

...

Unquoted names of function arguments to check

Value

Returns an error if the provided parameters do not match the specified class.