Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

set_config_env

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 "default" or "production" manually. CAUTION: Be sure you know the difference between "default" & "production" configuration environments. Using the "production" environment will affect the database of the deployed application.


polished

Authentication, User Administration, and Hosting for 'shiny' Apps

v0.3.0
MIT + file LICENSE
Authors
Andy Merlino [aut, cre], Patrick Howard [aut], Jimmy Briggs [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.