View source: R/helper-methods.R
hushWarning | R Documentation |
Selectively muffle warnings based on output
hushWarning(expr, regexp)
expr |
an expression |
regexp |
a regexp to be matched (with str_detect) |
the result of expr
hushWarning(warning('Beware the rabbit'), 'rabbit')
hushWarning(warning('Beware the rabbit'), 'hedgehog')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.