| warn | R Documentation |
Styled non-fatal message. By default emits a soft styled message via
msg(); with use_warning = TRUE, calls warning() so callers can
catch via tryCatch(..., warning = handler).
warn(..., use_warning = FALSE, bold = FALSE, verbosity = NULL, package = NULL)
... |
Message components, concatenated with no separator. |
use_warning |
Logical: If TRUE, signal an R |
bold |
Logical: If TRUE, apply bold styling to the message. |
verbosity |
Integer or NULL: Overrides |
package |
Character or NULL: Package name for verbosity override. |
Invisible NULL.
EDG
warn("Disk usage at ", 92L, "%")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.