#' Run the Shiny Application
#'
#' @export
#' @importFrom rmarkdown run
run_app <- function() {
appPath <- system.file("app/dataviz_pesticides.Rmd",
package = "bnvd")
run(appPath, render_args = list(encoding = "UTF-8"), shiny_args = list(launch.browser = TRUE))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.