#' Run the Shiny Application
#'
#' @param config config file to run your shiny
#' @param funs function to generate your images for the shiny app
#'
#' @export
#' @importFrom shiny shinyApp
#' @importFrom golem with_golem_options
run_app <- function(config, funs) {
with_golem_options(
app = shinyApp(
ui = app_ui,
server = app_server
),
golem_opts = list(config = config, funs = funs)
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.