R/zzz.R

Defines functions .onLoad

# Global reference to interpret (will be initialized in .onLoad)
interpret <- NULL

.onLoad <- function(libname, pkgname) {
  # Use superassignment to update global reference to interpret
  interpret <<- reticulate::import("interpret", delay_load = TRUE)
}

Try the ebm package in your browser

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

ebm documentation built on April 3, 2025, 7:16 p.m.