R/onLoad.R

Defines functions .onLoad

.globals <- new.env(parent = emptyenv())

#' @importFrom V8 new_context
.onLoad <- function(libname, pkgname){
  .globals$ctx <- get_context()
}
dreamRs/d3.format documentation built on June 7, 2020, 5:15 a.m.