R/zzz.R

Defines functions .onUnload .onLoad

.onLoad <- function(libname, pkgname) {
  path <- system.file("static", package = "kinesis")
  shiny::addResourcePath(prefix = "static", directoryPath = path)

  invisible()
}

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

  invisible()
}
tesselle/janus documentation built on Jan. 16, 2025, 4:03 a.m.