R/onLoad.R

Defines functions .onLoad

#' @importFrom V8 new_context
ct <- NULL
.onLoad <- function(libname, pkgname){
  ct <<- new_context();
  ct$source(system.file("js/proj4.js", package = pkgname))
}
ropensci/proj documentation built on May 18, 2022, 5:41 p.m.