R/zzz.R

Defines functions .onAttach

# zzz.R
#' @importFrom utils packageVersion
NULL

.onAttach <- function(libname, pkgname) {
  version <- utils::packageVersion(pkgname)
  msg <- paste0(
    "\n", pkgname, " version ", version, "\n",
    "Copyright (C) 2026 Yuxuan He\n",
    "This is free software, and you are welcome to redistribute it\n",
    "under the conditions of the GNU General Public License (GPL-3).\n"
  )
  packageStartupMessage(msg)
}

Try the ncmR package in your browser

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

ncmR documentation built on April 19, 2026, 5:07 p.m.