Enhanced input validation supporting base types and class checks.
check_input(
x,
type = NULL,
length = NULL,
min_length = NULL,
max_length = NULL,
allow_null = FALSE,
arg_name = "input"
)Invisible TRUE on success
Other validate-utils:
check_directory(),
check_file(),
check_packages(),
check_range()