Skip to contents

Deploy (copy) the shiny application to the specified directory

Usage

deploy(
  directory = "/srv/shiny-server",
  app_name = "insane",
  demo = FALSE,
  overwrite = FALSE
)

Arguments

directory

[character] A character vector of one path to the new location.

app_name

[character] A character vector defining the shiny application name in the new location.

demo

[logical] A logical indicating if examples spreadsheets should be copied in the app.

overwrite

[logical] A logical indicating if existing destination files should be overwritten.

Value

[logical] A logical indicating whether the deployment is successfull (TRUE) or not (FALSE).

Examples


deploy(directory = ".")
#> [1] TRUE

if (interactive()) {
  shiny::runApp("insane")
}