View source: R/suppressSpecificWarnings.R
suppressSpecificWarnings | R Documentation |
Like suppressWarnings
, but instead of suppressing all warnings this only suppresses
warnings if they match the given pattern.
suppressSpecificWarnings(expr, regularExpr, fixed = FALSE)
expr |
The expression/code to evaluate, can be a block of code inside curly braces. |
regularExpr |
Only warnings matching this regular expression are suppressed. |
fixed |
Match the literal string given by regularExpr instead of interpreting it
as a regular expression. Passed to |
The result of evaluating expr.
Pascal Sauer
suppressWarnings
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.