.onLoad <- function(libname, pkgname) {
shiny::addResourcePath(
prefix = "images",
directoryPath = system.file(
"images",
package = "shinyepico"
)
)
}
.onUnload <- function(libname, pkgname) {
shiny::removeResourcePath("images")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.