R/zzz.R

Defines functions .onAttach

#' @importFrom utils citation
.onAttach <- function(...) {
  if (!interactive()) return()

  x = citation("neurocInstall")
  x = format(x, "text")
  ack <- paste(
    'Cite the Neuroconductor Project using:\n',
    x)

  packageStartupMessage(paste(strwrap(ack), collapse = "\n"))
}

Try the neurocInstall package in your browser

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

neurocInstall documentation built on Feb. 12, 2020, 1:08 a.m.