#' use_shiny_app
#'
#' Adds a template called app.R for creating R Shiny applications. There is no
#' name argument because the Urban Institute Shiny server expects app.R.
#'
#' @md
#' @export
use_shiny_app <- function() {
usethis::use_template(
template = "app.R",
data = list(Package = "", Version = ""),
ignore = FALSE,
open = TRUE,
package = "urbntemplates"
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.