R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
  # Set default package options
  op <- options()
  op.imabc <- list(
    imabc.target_eval_distance = "chisquare"
  )
  toset <- !(names(op.imabc) %in% names(op))
  if(any(toset)) options(op.imabc[toset])

  invisible()
}
carolyner/imabc documentation built on March 28, 2023, 6:43 a.m.