R/zzz.R

Defines functions .onUnload .onLoad

.onLoad = function(libname, pkgname) {
  shiny::addResourcePath(
    prefix = "www",
    directoryPath = cemrepboot_file("www")
  )
}

.onUnload = function(libname, pkgname) {
  shiny::removeResourcePath("www")
}
tomicapretto/cemrepboot documentation built on Dec. 31, 2020, 8:43 a.m.