warn_if_not | R Documentation |
Raises an assertion warning when any(expr)
is false.
Raises an assertion warning when all(expr)
is true.
warn_if_not( expr, warn_message = NULL, warn_class = NULL, call = rlang::caller_call(), env = rlang::caller_env(), print_expr = NULL, ... ) warn_if( expr, warn_message = NULL, warn_class = NULL, call = rlang::caller_call(), env = rlang::caller_env(2L), print_expr = NULL, ... )
expr |
< |
warn_message |
< |
warn_class |
< |
call |
The execution environment of a currently running
function, e.g. You only need to supply Can also be |
env |
< |
print_expr |
< |
... |
< |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.