R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
  ov <- catchr_original_default_values
  # Set the defaults just in case they aren't already
  options("catchr.default_plan" = getOption("catchr.default_plan", ov$catchr.default_plan))
  options("catchr.warn_about_terms" = getOption("catchr.warn_about_terms", ov$catchr.warn_about_terms))
  options("catchr.bare_if_possible" = getOption("catchr.bare_if_possible", ov$catchr.bare_if_possible))
  options("catchr.drop_empty_conds" = getOption("catchr.drop_empty_conds", ov$catchr.drop_empty_conds))
  ov <- NULL
}

Try the catchr package in your browser

Any scripts or data that you put into this service are public.

catchr documentation built on Sept. 23, 2021, 5:11 p.m.