alert: Display formatted alert messages

View source: R/utils-alert.R

alertR Documentation

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, ...)

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

Value

No return value; displays the formatted message to the console


eyeris documentation built on July 3, 2025, 9:08 a.m.