wrong_class_error | R Documentation |
Function assertion that verifies the class of an object
wrong_class_error(value, expected_class, name, null = FALSE)
value |
The object |
expected_class |
A character vector of potential classes |
name |
The name of the object |
null |
Logical, identifying if the object can be null |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.