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/neurocInstall documentation built on Feb. 18, 2025, 8:31 a.m.