R/3_onAttach.R

Defines functions .onAttach

.onAttach <- function(libname, pkgname) {
  version <- tryCatch(
    utils::packageDescription("org", fields = "Version"),
    warning = function(w){
      1
    }
  )

  packageStartupMessage(paste0(
    "org ",
    version,
    "\n",
    "https://www.csids.no/org/"
  ))
}

Try the org package in your browser

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

org documentation built on Nov. 22, 2022, 9:05 a.m.