log_warn: Log a warning message

View source: R/core-logging.R

log_warnR Documentation

Log a warning message

Description

Log a warning message

Usage

log_warn(..., verbose = TRUE, wrap = TRUE, .envir = parent.frame())

Arguments

...

Character strings to log. Supports glue-style interpolation.

verbose

Logical. Whether to print the message (default TRUE).

wrap

Logical. Whether to wrap long messages (default TRUE).

.envir

Environment for glue interpolation (default: parent frame).

Examples

## Not run: 
log_warn("Missing data detected")
missing_count <- 10
log_warn("Found {missing_count} missing values")

## End(Not run)


eyeris documentation built on June 19, 2026, 9:08 a.m.