#' @export
shinypoints <- function() {
app_dir <- system.file("shiny", "shinypoints", package = "foodpoints")
if (app_dir == "") {
stop("Could not find shiny app directory. Try reinstalling `foodpoints`.", call. = FALSE)
}
shiny::runApp(app_dir, display.mode = "normal")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.