#' Start the spinr shiny application
#'
#' @param appDir Scalar character, the path to the `spinr` shiny app
#' @param ... Additional arguments passed on to the [shiny::runApp()] function
#' @return Nothing, the shiny app will be started in a separate window
#' @importFrom shiny runApp
#' @export
#' @examples
#' \dontrun{
#' spinrApp()
#' }
spinrApp <- function(appDir = system.file("shiny", package = "spinr"),
...) {
shiny::runApp(appDir = appDir, ...)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.