rlang::warn() with a yellow warning message with a warning symbol if verbose.

wastdr_msg_warn(message, verbose = wastdr::get_wastdr_verbose())

Arguments

message

(chr) A message to print

verbose

Whether to show debug messages. Default: wastdr::get_wastdr_verbose()

Examples

if (FALSE) {
wastdr_msg_warn("This is a warning.")
}