R/zzz.R

Defines functions StartWelcomeMessage .onAttach

.onAttach <- function(libname, pkgname){
  packageStartupMessage(StartWelcomeMessage())
}

StartWelcomeMessage <- function(){
  paste(c("=====================================================\n",
          "MAPpoly Package",
          " [Version ", utils::packageDescription("mappoly")$Version,
           utils::packageDescription("mappoly")$Date, "]\n",
          "More information: https://github.com/mmollina/MAPpoly\n",
          "====================================================="),
        sep = "")
}
mmollina/MAPPoly documentation built on March 8, 2024, 2:04 a.m.