View source: R/quit_on_failure.R
quit_on_failure | R Documentation |
Evaluate the given expression and if any of the returned values are FALSE
then
exit with status 1.
quit_on_failure(expr, n_br = 1)
expr |
Expression returning a logical vector |
n_br |
Number of leading and trailing blank lines to print |
This is needed when using check_*
functions within a continuous integration pipeline
to signal that a step failed.
expr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.