assert_valid_type | R Documentation |
Check variable is of correct type
assert_valid_type(x, types, label = deparse(substitute(x)))
x |
Object to check the type. |
types |
( |
label |
( |
invisible NULL
or an error message if the criteria are not fulfilled.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.