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/neurocInstall documentation built on May 19, 2021, 5:24 a.m.