R/onAttach.R

Defines functions .onAttach

### welcome message
#' @importFrom utils packageDescription
.onAttach <- function(lib, pkg) {
  meta <- utils::packageDescription("tlm")
  attachmsg <- paste0("\nThis is tlm ",
                      meta$Version,
                      ". For details, use:\n",
                      "> help(package = 'tlm') and browseVignettes('tlm')\n\n",
                      "To cite the methods in the package use:\n",
                      "> citation('tlm')\n")
  packageStartupMessage(attachmsg, domain = NULL, appendLF = TRUE)
}

Try the tlm package in your browser

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

tlm documentation built on April 4, 2025, 1:06 a.m.