qassert_all | R Documentation |
Ergonomic wraper for qassert
to check multiple variables against a single rule
qassert_all(rule, ...)
rule |
[[ |
... |
[[ |
See qassert
.
qassertm
x <- TRUE; y <- FALSE
# check all variables, scoped inside function
foofunc <- function(x, y) { qassert_all('n'); print(x); }
foofunc(1, 2)
# only enumerated variables
qassert_all('l', x, y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.