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 GEOmirror !", "\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/idmap1 documentation built on March 1, 2020, 5:45 a.m.