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"))
}
neuroconductor-devel-releases/neurocInstall documentation built on May 21, 2020, 1:04 p.m.