set_config_env {polished} | R Documentation |
Automatically set the config environment
Description
Determines if the app is deployed to a server or running locally, and adjusts
the config environment to "production"
or "default"
, respectively. This function
is almost always called in the global.R
file of a Shiny app immediately before
the configuration in the config.yml
is read in.
Usage
set_config_env(override = NULL)
Arguments
override |
Set the environment to |
Value
invisible(NULL)
[Package polished version 0.8.1 Index]