R/zzz.R

Defines functions .onLoad

.default_settings <- list(url="http://github.com/epiviz/epivizr.git", 
                          branch="min", 
                          local_path=NULL,
                          index_file="epivizr-standalone.html")

.onLoad <- function(libname = find.package("epivizrStandalone"), pkgname = "epivizrStandalone") {
  webpath <- tryCatch(system.file("www", package=pkgname, mustWork=TRUE), error=function(e) {
    dir.create(file.path(system.file(package=pkgname), "www"))
    system.file("www", package=pkgname)
  })
  options(epivizrStandalone_settings=.default_settings)
}

Try the epivizrStandalone package in your browser

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

epivizrStandalone documentation built on Nov. 8, 2020, 6:48 p.m.