R/zzz.R

.onAttach <- function(libname, pkgname){
  
  # To automatically update the version number  
  v <- utils::packageVersion("Rdistance")  # this requires utils package, which is base
  
  # Startup message
  packageStartupMessage(paste("Rdistance (version ", v ,")", sep=""))

}

Try the Rdistance package in your browser

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

Rdistance documentation built on May 2, 2019, 3:49 a.m.