R/zzz.R

Defines functions .onLoad

.onLoad <- function(...) {
  shiny::addResourcePath(
    prefix = "files", 
    directoryPath = system.file("exdata", package = "shinyRatings") # path to resource in your package
  )
}

Try the shinyRatings package in your browser

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

shinyRatings documentation built on July 26, 2023, 5:26 p.m.