File: zzz.R

package info (click to toggle)
r-cran-rlumshiny 0.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,304 kB
  • sloc: javascript: 922; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 445 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# add libraries to ressource path
.onLoad <- function(libname, pkgname) {
  shiny::addResourcePath("RLumShiny", system.file("www", package = "RLumShiny"))
}

# Dependencies in the shiny apps are currently not registered by R CMD check --as-cran
.satisfyCheck <- function() {
  x <- TRUE
  if (x) return(x)
  Luminescence::sTeve()
  googleVis::renderGvis()
  tmp <- DT::datatable(data.frame(1))
  knitr::normal_print("")
  rm(tmp)
}