R/zzz.R

Defines functions .onAttach .onLoad

#' @import data.table

.onLoad <- function(libname, pkgname){
  load_cfg(verbose=FALSE)
  options(restatapi_verbose=FALSE)
  options(restatapi_dmethod="auto")
}

.onAttach <- function(libname, pkgname){
  load_cfg(verbose=TRUE)
  options(restatapi_verbose=FALSE)
  options(restatapi_dmethod="auto")
}

Try the restatapi package in your browser

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

restatapi documentation built on Sept. 19, 2023, 5:08 p.m.