R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
  if (requireNamespace("memoise", quietly = TRUE)) {
    lgamma_size_x <<- memoise::memoise(lgamma_size_x)
  }
}

Try the extras package in your browser

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

extras documentation built on April 4, 2025, 2:40 a.m.