deploy | R Documentation |
Deploy (copy) the shiny application to the specified directory
deploy(directory = "/srv/shiny-server", app_name = "NACHO")
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. |
[logical] A logical indicating whether the deployment is successfull (TRUE
) or not (FALSE
).
deploy(directory = ".")
if (interactive()) {
shiny::runApp("NACHO")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.