R/zzz.R

Defines functions .onAttach

##' @importFrom utils packageDescription
.onAttach <- function(libname, pkgname) {
  pkgVersion <- packageDescription(pkgname, fields="Version")
  msg <- paste0(pkgname, " v ", pkgVersion, "  ",
                "welcome to use ",pkgname, "!\n")

  citation <- paste0("If you use ", pkgname, " in published research, please acknowledgements:\n",
                     "We thank Dr.Jianming Zeng(University of Macau), and all the members of his bioinformatics team, biotrainee, for generously sharing their experience and codes.")

  packageStartupMessage(paste0(msg, citation))
}
jmzeng1314/AnnoProbe documentation built on June 2, 2020, 4:14 a.m.