R/zzz.R

Defines functions .onAttach

.onAttach <- function(lib, pkg) {
 
  pkg.info <- drop(read.dcf(file = system.file("DESCRIPTION", package = "GeoModels"),
                            fields = c("Title", "Version", "Date")))
  
  # Startup message
  packageStartupMessage(paste("--------------------------------------------------------------\n",
                              pkg.info["Title"], "\n",
                              "For an Introduction to GeoModels, go to https://vmoprojs.github.io/GeoModels-page/\n",
                              paste("GeoModels version ", pkg.info["Version"],
                                    " (built on ", pkg.info["Date"], ") is now loaded\n", sep = ""),
                              "--------------------------------------------------------------\n"))

}

Try the GeoModels package in your browser

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

GeoModels documentation built on April 13, 2025, 5:09 p.m.