Skip to contents

warning_msg

Usage

warning_msg(msg)

Arguments

msg

warning message to print

Value

Invisibly returns NULL; prints a formatted warning message.

See also

Other console messaging helpers: error_msg(), info_msg(), print_footer(), print_header()

Examples

warning_msg("example warning")
#> Warning: [2026-07-07 11:49:31] [WARN]	example warning