R/onAttach.R

'.onAttach' <- function(lib, pkg) {
  #mylib <- dirname(system.file(package = pkg))
  mylib <- lib
  title <- packageDescription(pkg, lib.loc = mylib)["Title"]
  ver <- packageDescription(pkg, lib.loc = mylib)["Version"]
  author <- packageDescription(pkg, lib.loc = mylib)["Author"]
  packageStartupMessage(pkg, ": ", title, "\nVersion: ", ver, "\nAuthors: ", author, "\n")
}

Try the cjoint package in your browser

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

cjoint documentation built on Oct. 19, 2018, 9:03 a.m.