Description Usage Arguments Value Examples
The two functions has_warning()
and has_error()
check if an
expression produces warnings and errors, respectively.
1 2 3 | has_warning(expr)
has_error(expr)
|
expr |
an R expression |
A logical value.
1 2 3 | has_warning(1+1); has_warning(1:2+1:3)
has_error(2-3); has_error(1+'a')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.