Description Usage Arguments Examples
Reject an invalid error (custom class error) if any R expression is false
1 | check_args(exprs, msgs)
|
exprs |
vector of boolean(s) or vector of R expression(s) which return boolean |
msgs |
vector of string, message(s) to print to the console |
1 2 3 | ## Not run: check_arg(c(is.numeric("a"), is.numeric(1)),
c("\"a\" is not a numeric", "1 is not numeric"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.