R/First.R

Defines functions .onAttach

#
#  First.R
#
#  $Revision: 1.1 $ $Date: 2011/08/05 03:04:23 $
#

.onAttach <- function(libname, pkgname) {
  v <- read.dcf(file=system.file("DESCRIPTION", package=pkgname),
                fields="Version")
  msg <- paste("scuba", v,
               "\nType", sQuote("help(scuba)"),
               "for an introduction",
               "\nRead the warnings in", sQuote("help(scuba.disclaimer)"),
               "\nFor news about changes to the package, type",
               sQuote("news(package=\'scuba\')"))
  packageStartupMessage(msg)
  invisible(NULL)
}

Try the scuba package in your browser

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

scuba documentation built on Oct. 18, 2022, 5:06 p.m.