R/zzz.R

Defines functions .onUnload .onLoad

# zzz.R
.onLoad <- function(libname, pkgname) {
  shiny::addResourcePath(
    prefix = "assets",
    directoryPath = system.file(
      "assets",
      package = "DCEtool"
    )
  )
}

.onUnload <- function(libname, pkgname) {
  shiny::removeResourcePath("assets")
}

Try the DCEtool package in your browser

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

DCEtool documentation built on July 9, 2023, 5:54 p.m.