alert | R Documentation |
A utility function to display formatted alert messages using the cli package. Supports warning, info, and success message types.
alert(type = c("warning", "info", "success"), msg, ...)
type |
The type of alert to display. Must be one of "warning", "info", or "success" |
msg |
The message to display. Can include format specifiers for additional arguments |
... |
Additional arguments to be formatted into the message string |
No return value; displays the formatted message to the console
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.