R/onStart.R

Defines functions .onAttach

.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",
                              paste0(pkgname, " is built on R ", version$major, ".", version$minor, "."),
                              "\n",
                              "\n",
                              "Type fastcmprsk:::getNews_fastcmprsk() to see changes and updates to the package.",
                              "\n",
                              "Go to https://github.com/erickawaguchi/fastcmprsk/ for latest updates!",
                              "\n",
                              "\n"))
}

Try the fastcmprsk package in your browser

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

fastcmprsk documentation built on Sept. 12, 2019, 1:04 a.m.