deploy_app {polished} | R Documentation |
Deploy a Shiny app to Polished Hosting
Description
Deploy a Shiny app to Polished Hosting
Usage
deploy_app(
app_name,
app_dir = ".",
api_key = get_api_key(),
launch_browser = TRUE,
region = "us-east1",
ram_gb = 2,
r_ver = NULL,
tlmgr = character(0),
golem_package_name = NULL,
cache = TRUE,
gh_pat = NULL,
max_sessions = Inf
)
Arguments
app_name |
Your Shiny app's name. |
app_dir |
The path to the directory containing your Shiny app. |
api_key |
Your |
launch_browser |
Boolean (default: |
region |
the region to deploy the app to on Google Cloud Platform. See
https://cloud.google.com/run/docs/locations for all available regions
on Google Cloud Platform. Currently, database connections are only supported for
|
ram_gb |
the amount of memory (in |
r_ver |
Character string of desired |
tlmgr |
a character vector of |
golem_package_name |
if your Shiny app was created as a package with the
|
cache |
Boolean (default: |
gh_pat |
optional GitHub PAT for installing packages from private GitHub repos. |
max_sessions |
the maximum number of concurrent sessions to run on a single app instance before
starting another instance. e.g. set to 5 to have a max of 5 user sessions per app instance.
The default is |
Value
an object of class polished_api_res
.
Examples
## Not run:
deploy_app(
app_name = "polished_example_01",
app_dir = system.file("examples/polished_example_01", package = "polished"),
api_key = "<your polished.tech API key>"
)
## End(Not run)