R/use_shiny_app.R

Defines functions use_shiny_app

Documented in use_shiny_app

#' 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"
  )
}
UrbanInstitute/urbntemplates documentation built on April 27, 2022, 4:35 a.m.