
This function checks whether user arguments are valid in terms of being an available argument or of the correct class.
check_arguments(x, ref)
Error messages or TRUE
if all arguments are valid.
list
. The user-query list to compare against ref
.
list
. The reference list to compare x
against.