R/zzz.R

Defines functions .onLoad

.globals <- new.env(hash = TRUE)
.cache_tmpls <- new.env(hash = TRUE)

.onLoad <- function(libname, pkgname) {
  .globals$infoLog <- new_log(info())
  .globals$errorLog <- new_log(error())
  .globals$successLog <- new_log(success())
  .globals$cookieParser <- default_cookie_parser
  .globals$pathToPattern <- NULL
  .globals$cookiePreprocessors <- list()
  .globals$renderer <- NULL
  .globals$cache_tmpls <- FALSE
  .globals$wsc <- list()
}

Try the ambiorix package in your browser

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

ambiorix documentation built on April 3, 2025, 9:34 p.m.