stopifnot | R Documentation |
See the original description in base::stopifnot
.
stopifnot(..., exprs, exprObject, local = TRUE)
# get function from namespace instead of possibly getting
# implementation shipped with recent R versions:
bp_stopifnot = getFromNamespace("stopifnot", "backports")
m <- matrix(c(1, 3, 12, 1), 2, 2)
## Not run: bp_stopifnot("m must be symmetric" = m == t(m))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.