R/onAttach.R

".onAttach" <- function(lib, pkg) {
  mylib <- dirname(base::system.file(package = pkg))
  title <- packageDescription(pkg, lib.loc = mylib)$Title
  ver <- packageDescription(pkg, lib.loc = mylib)$Version
  packageStartupMessage(pkg, ": ", title, "\nVersion: ", ver, "\n")
}

Try the mediation package in your browser

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

mediation documentation built on Oct. 9, 2019, 1:04 a.m.