R/ZZZ.R

.onAttach <- function (lib, pkg) {
  
  pkg.info <- drop(
    read.dcf(file = system.file("DESCRIPTION", package = "spsann"), fields = c("Title", "Version","Date")))
  
  packageStartupMessage(
    paste("---------------------------------------------------------------\n",
          pkg.info["Title"],                                            " \n",
          "spsann version ", pkg.info["Version"],                       " \n",
          "(built on ", pkg.info["Date"], ") is now loaded                \n",
          # "ATTENTION: THIS VERSION CONTAINS BACKWARD INCOMPATIBLE CHANGES!\n",
          # "Check the package NEWS and read the new documentation          \n",
          # "before you start using the package.                            \n",
          "---------------------------------------------------------------\n",
          sep = "")
  )
}

Try the spsann package in your browser

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

spsann documentation built on May 2, 2019, 1:36 p.m.