assertions | R Documentation |
Generate character vector of assertions for a given object
assertions(x, data_name, ...)
x |
The object for which to generate assertions. |
data_name |
Name of data object to validate, as it would be called in the interior of the function. This defaults to "data", but it may make sense to use other names for individual assertions, eg. "data$column". |
... |
Arguments passed to class-specific functions. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.