| assertTrue | R Documentation |
Assert that an expression is TRUE.
assertTrue(
x,
null = FALSE,
empty = TRUE,
nm = deparse1(substitute(x), backtick = TRUE),
call = parent.frame(),
msg = NULL
)
x |
Expression to check. |
null |
Whether it can be NULL. |
empty |
Whether it can be empty. |
nm |
Name to use in error messages. Defaults to the expression supplied
to |
call |
Call argument that will be passed to |
msg |
Custom error message. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.