R/zzz.R

.noGenerics <- TRUE

.onLoad <- function(libname, pkgname) 
{
  chkernel()
}

.onAttach <- function(libname, pkgname)
{
    desfile <-  file.path(libname, pkgname, "DESCRIPTION",
                          fsep = .Platform$file.sep)
    verline <- readLines(desfile, n=2, ok=TRUE)[[2]]
    version <- gsub("Version: ", "", verline, ignore.case=TRUE)
    packageStartupMessage("\nThis is ", pkgname," ", version, "\n\n")
}

Try the spatialkernel package in your browser

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

spatialkernel documentation built on May 2, 2019, 2:26 p.m.