Deploy a Shiny app to Polished Hosting
Deploy a Shiny app to Polished Hosting
deploy_app( app_name, app_dir = ".", api_key = getOption("polished")$api_key, api_url = "https://host-api.polished.tech", launch_browser = TRUE, region = "us-east1", ram_gb = 2, r_ver = NULL )
app_name |
You Shiny app's name. |
app_dir |
The path to the directory containing your Shiny app. |
api_key |
Your polished.tech API key. Defaults to |
api_url |
The Polished API url. Defaults to "https://host-api.polished.tech". You should not change from the default unless you are testing a development version of the API. |
launch_browser |
Whether or not to open your default browser to your newly deployed app
after it is successfully deployed. |
region |
the region to deploy the app to on Google Cloud Platform. See https://cloud.google.com/compute/docs/regions-zones for all available regions on Google Cloud Platform. Currently on "us-east1" is supported, but soon, all regions will be supported. |
ram_gb |
the amount of memory to allocate to your Shiny app server. Valid values are 2, 4, or 8. |
r_ver |
Character string of R version. If kept as |
## 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)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.