| assertDoc | R Documentation |
Helper for consistent documentation of assertion functions.
x |
Variable to check. |
length |
Required length. If |
na |
Whether it can contain NA values. |
null |
Whether it can be NULL. |
empty |
Whether it can be empty. |
unique |
Whether it has to contain unique elements. |
named |
Whether it has to be named. |
nm |
Name to use in error messages. Defaults to the expression supplied
to |
call |
Call argument that will be passed to |
msg |
Custom error message. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.