.suppressSpecificWarnings | R Documentation |
suppressWarnings()
function permits one to suppress warnings, but
it is tricky to selectively suppress only certain warnings on the basis
of a regular expression or another condition. This function allows one
to do that.This function allows you to suppress specific warnings and was originally
created by Antoine Fabri ("Moody_Mudskipper"): see https://stackoverflow.com/a/55182432/697473
Sometimes R throws warning messages that we don't want to see. The base
suppressWarnings()
function permits one to suppress warnings, but
it is tricky to selectively suppress only certain warnings on the basis
of a regular expression or another condition. This function allows one
to do that.
.suppressSpecificWarnings(.expr, .f, ...)
.expr |
Expression to be evaluated. |
.f |
String or function. If a string (possibly representing a
regular expression), any warning message generated when |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.