R/zzz.R

Defines functions onLoad

.onLoad <- function(libname, pkgname) {
  op <- options()
  op.heemod <- list(
    heemod.verbose = FALSE,
    heemod.memotime = 3600,
    heemod.inf_parameter = "stop"
  )
  toset <- !(names(op.heemod) %in% names(op))
  if(any(toset)) options(op.heemod[toset])
  
  invisible()
}
pierucci/heemod documentation built on July 15, 2018, 12:44 p.m.