#' Run the shiny application inside a web browser window
#' @export
launch <- function() {
shiny::runApp(system.file("shiny", package = "americanRoulette"),
display.mode = "normal",
launch.browser = TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.