Defines functions onAttach

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

  ##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 April 4, 2018, 5:03 p.m.