R/zzz.R

Defines functions .onAttach

################################################################################

.onAttach <- function(lib, pkg) {
        dcf <- read.dcf(file.path(lib, pkg, "DESCRIPTION"))
        msg <- gettextf("%s (%s)", dcf[, "Title"], dcf[, "Version"])

        packageStartupMessage(paste(strwrap(msg), collapse = "\n"))
}
rdpeng/tsmodel documentation built on May 18, 2022, 5:52 a.m.