R/onStart.R

.onAttach <- function(libname, pkgname) {
  pkg.version <- read.dcf(file = system.file("DESCRIPTION", package = pkgname),
                            fields = "Version")
  packageStartupMessage(paste("\n",
                              paste(pkgname,
                              pkg.version,
                              "is installed!"),
                              "\n",
                              "\n",
                              "Type getNews_pshBAR() to see changes and updates to the package.",
                              "\n",
                              "\n"))
}
erickawaguchi/crrBAR documentation built on June 6, 2019, 7:56 a.m.