R/zzz.R

Defines functions .onUnload .onAttach

.onAttach = function(lib, pkg) {
  ver = as.character(read.dcf(file.path(lib, pkg, "DESCRIPTION"), "Version"))
  packageStartupMessage("TofDaqR ", ver, " loaded.")
}

.onUnload = function(libpath) {
  library.dynam.unload("TofDaqR", libpath)
}
pasturm/TofDaqR documentation built on July 18, 2019, 1:22 a.m.