R/ZZZ.R

Defines functions .onAttach

.onAttach <- function(lib, pkg)  {
    pkg.info <- drop(read.dcf(file=system.file("DESCRIPTION", package = pkg), fields = c("Version", "Date")))
    packageStartupMessage(paste(pkg, " version ", pkg.info["Version"], " (", pkg.info["Date"], ")", sep = ""))

    return(invisible(0))
}

Try the spectacles package in your browser

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

spectacles documentation built on July 10, 2023, 1:59 a.m.