R/First.R

Defines functions .onAttach .onLoad

##  spatstat.geom/R/First.R

.onLoad <- function(...) {
  reset.spatstat.options()
}

.onAttach <- function(libname, pkgname) {
  vs <- read.dcf(file=system.file("DESCRIPTION", package="spatstat.geom"),
                 fields="Version")
  vs <- as.character(vs)
  putSpatstatVariable("SpatstatGeomVersion", vs)
  packageStartupMessage(paste("spatstat.geom", vs))
  return(invisible(NULL))
}

  

Try the spatstat.geom package in your browser

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

spatstat.geom documentation built on Sept. 18, 2024, 9:08 a.m.