assert_all | R Documentation |
TRUE
Check if all elements of x
are TRUE
, and throw an informative warning that
contains the position and name (if any) of the element
assert_all(..., call = sys.call(-1))
... |
|
TRUE
assert()
try(
assert_all(c("this is true" = TRUE, "this is FALSE" = FALSE, FALSE))
assert_all(
list(a = c(TRUE, FALSE), b = TRUE),
list(TRUE)
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.