R/zzz.R

Defines functions dummy .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()
}


#' @noRd
dummy <- function() {
  # dummy function to avoid note for unused imports
  R6::R6Class
  knitr::opts_chunk
  stringr::str_remove
}
Yu-Group/simChef documentation built on Feb. 27, 2025, 9:19 p.m.