R/core-logging.R
log_warn.Rd
Log a warning message
log_warn(..., verbose = TRUE, wrap = TRUE, .envir = parent.frame())
Character strings to log. Supports glue-style interpolation.
Logical. Whether to print the message (default TRUE).
Logical. Whether to wrap long messages (default TRUE).
Environment for glue interpolation (default: parent frame).
if (FALSE) { # \dontrun{ log_warn("Missing data detected") missing_count <- 10 log_warn("Found {missing_count} missing values") } # }