R/onAttach.R

Defines functions .onAttach

#'
#' @noRd
#'
.onAttach <- function(libname, pkgname) {
  options(ChemoSpecGraphics = "ggplot2")
  .chkReqGraphicsPkgs("ggplot2")

  packageStartupMessage("\nAs of version 6, ChemoSpec offers new graphics output options")
  packageStartupMessage("For details, please see ?GraphicsOptions")
  packageStartupMessage("\nThe ChemoSpec graphics option is set to 'ggplot2'")
  packageStartupMessage("To change it, do\n\toptions(ChemoSpecGraphics = 'option'),\n\twhere 'option' is one of 'base' or 'ggplot2' or'plotly'.")
}

Try the ChemoSpec package in your browser

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

ChemoSpec documentation built on June 7, 2023, 6:13 p.m.