R/load.first.R

.onAttach <- function(...) {
  mylib <- dirname(system.file(package = "mi"))
  ver <- packageDescription("mi", lib.loc = mylib)$Version
  builddate <- packageDescription("mi", lib.loc = mylib)$Date
  msg <- paste("\nmi (Version ", ver, ", built: ", builddate, ")\n", sep = "")
  packageStartupMessage(msg, appendLF = FALSE)
}

Try the mi package in your browser

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

mi documentation built on May 2, 2019, 4:43 p.m.