R/zzz.R

Defines functions .onLoad

# global reference to openpyxl (will be initialized in .onLoad)
openpyxl <- NULL

.onLoad <- function(libname, pkgname) {
  # import modules
  # delay load module (will only be loaded when accessed via $)
  openpyxl <<- reticulate::import("openpyxl", delay_load = TRUE)

  invisible(TRUE)
}

Try the xlcharts package in your browser

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

xlcharts documentation built on May 29, 2024, 7:58 a.m.