Skip to contents

Deploy (copy) the shiny application to the specified directory

Usage

deploy(directory = "/srv/shiny-server", app_name = "NACHO")

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.

Value

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

Examples


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

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