R/zzz.R

Defines functions .onLoad

# TODO: add covr
## covr: skip=all
.onLoad <- function(libname, pkgname) {

  op <- options()
  op.simChef <- list(
    simChef.debug = FALSE,
    simChef.plot_theme = "default"
    # TODO: simChef.verbosity
  )
  toset <- !(names(op.simChef) %in% names(op))
  if(any(toset)) options(op.simChef[toset])

  invisible()
}
Yu-Group/simChef documentation built on March 25, 2024, 3:22 a.m.