R/onAttach.R

Defines functions .onAttach

#.First.lib <-
.onAttach <- function(libname, pkgname) {
    ver <- packageDescription("UComp")$Version
    txt <- c("\n",
             paste(sQuote("UComp"), "version:", ver),
             paste(sQuote("UComp"),
                   "is a package for time series modelling"),
             "using Unobserved Components, Exponential ",
             "smoothing and other sorts of models",
             "\n",
             "Author: Diego J. Pedregal",
             "Diego.Pedregal@uclm.es",
             "\n"
    )
    if (interactive() || getOption("verbose")) {
        msg = paste(strwrap(txt, indent = 4, exdent = 4), collapse = "\n")
        packageStartupMessage(msg)
    }
}

Try the UComp package in your browser

Any scripts or data that you put into this service are public.

UComp documentation built on May 31, 2023, 7:41 p.m.