R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
  if(requireNamespace("reticulate", quietly = TRUE)){
    reticulate::py_require("transformers")
    reticulate::py_require("numpy")
    reticulate::py_require("torch")
  }
}

Try the theorytools package in your browser

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

theorytools documentation built on Feb. 7, 2026, 5:06 p.m.