check_class | R Documentation |
Check class for arguments
check_class(argument, target, arg_name)
argument |
the argument to evaluate. |
target |
string with the allowed class. |
arg_name |
string with argument name to print (just for error message) |
An error message if argument does not fit the target requirements
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.