R/echo.R

Defines functions echo_warn echo_info

echo_info <- function(...) {
    if (getOption('keypr.verbose') %||% FALSE)
        cli_alert_info(..., .envir = parent.frame())
}

echo_warn <- function(...) {
    cli_alert_warning(..., .envir = parent.frame())
}
x1o/keypr documentation built on July 25, 2022, 10:12 p.m.