Learn R Programming

eyeris (version 2.1.1)

alert: Display formatted alert messages

Description

A utility function to display formatted alert messages using the cli package. Supports warning, info, and success message types.

Usage

alert(type = c("warning", "info", "success"), msg, ...)

Value

No return value; displays the formatted message to the console

Arguments

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