R/zzz.R

Defines functions .onLoad

PyChest <- NULL

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

Try the RChest package in your browser

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

RChest documentation built on Feb. 13, 2021, 5:06 p.m.