R/gets-internal.R

Defines functions onAttach

.onAttach <- function(libname, pkgname)
{
  ##start-up message:
  txt <- c("\n",
    paste(sQuote("gets"), "version 0.12\n"),
    "\n",
    paste("An R package for general-to-specific (gets) modelling and"),
    paste("indicator saturation methods, see", sQuote("help(gets)"), "for details"),
    "\n",
    paste("CRAN website: https://cran.r-project.org/package=gets"),
    paste("For an introduction (PDF): http://www.sucarrat.net/R/gets"),
    "\n",
    paste("Set plot=TRUE in options to turn plots on: options(plot=TRUE)"),
    "\n")

  ##print message at startup:
  if(interactive() || getOption("verbose")){
    packageStartupMessage(paste(strwrap(txt, indent = 2,
      exdent = 4), collapse = "\n"))
  }

}

Try the gets package in your browser

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

gets documentation built on May 30, 2017, 4:09 a.m.