R/zzz.R

.onLoad <- function(libname, pkgname) {
  packageStartupMessage("frame: Fire Research And Modelling Environment")
  
  assign("._ffm_settings", list(), pos = 1)
}

.onUnload <- function(libpath) {
  if (exists(._ffm_settings, where = 1)) rm(._ffm_settings, pos = 1)
}
pzylstra/frame_r documentation built on June 7, 2019, 8:38 a.m.