R/zzz.R

Defines functions .onAttach

.onAttach <- function(...) { # nocov start
    if (interactive()) {
        msg <- c(
            "Thank you for using MoMA!",
            "The current logging level is",
            sQuote(paste0(moma_logger_level(), ".")),
            "To change this, see ?moma_logging."
        )

        packageStartupMessage(paste(msg, collapse = " "))
    }
} # nocov end
DataSlingers/MoMA documentation built on Oct. 30, 2019, 5:55 a.m.