deploy_shiny: Deploy Shiny applications to the cloud

Description Usage Arguments

View source: R/cloud_setup.R

Description

This function deploys a selected Shiny application (xai2shiny application) to the created droplet.

Usage

1
2
3
4
5
6
7
8
deploy_shiny(
  droplet,
  directory,
  packages = "stats",
  port = 80,
  browse = TRUE,
  ssh_user = "root"
)

Arguments

droplet

the droplet's id or droplet's object. The IP can be checked by running analogsea::droplets().

directory

path to the directory containing Shiny application (xai2shiny application).

packages

vector of packages (package names) that are needed for the application to run.

port

port at which the application will run.

browse

a boolean, which indicates whether open the app on the web after deploying

ssh_user

the name of ssh console user, should NOT be modified when using the default xai2shiny cloud_setup


ModelOriented/xai2shiny documentation built on Jan. 30, 2021, 3:02 a.m.