Description Usage Arguments Details Examples
These functions are for starting and ending a sequence of assertr assertions and overriding the default behavior of assertr halting execution on the first error.
1 2 3 | chain_start(data)
chain_end(data, success_fun = success_continue, error_fun = error_report)
|
data |
A data frame |
success_fun |
Function to call if assertion passes. Defaults to
returning |
error_fun |
Function to call if assertion fails. Defaults to printing a summary of all errors. |
For more information, read the relevant section in this package's
vignette using, vignette("assertr")
For examples of possible choices for the success_fun
and
error_fun
parameters, run help("success_and_error_functions")
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.