deploy: Deploy the Shiny App

View source: R/deploy.R

deployR Documentation

Deploy the Shiny App

Description

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 = ".")

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


insane documentation built on Nov. 15, 2023, 1:09 a.m.