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, ...)
No return value; displays the formatted message to the console
The type of alert to display. Must be one of "warning", "info", or "success"
The message to display. Can include format specifiers for additional arguments
Additional arguments to be formatted into the message string