R/zzz.R

Defines functions .onLoad

##' @useDynLib dust, .registration = TRUE
.onLoad <- function(...) {           # nolint
  cache$models <- simple_cache$new() # nocov
}

cache <- new.env(parent = emptyenv())
mrc-ide/dust documentation built on May 11, 2024, 1:08 p.m.