using_config | R Documentation |
Environment-specific configuration values can be used to alter code's
behavior in different environments. The
config package uses the
R_CONFIG_ACTIVE
environment variable to specify the active environment.
If R_CONFIG_ACTIVE
is not set, the "default"
configuration is used.
using_config(config)
config |
Configuration name |
A logical value
# See whether the default configuration is being used
using_config("default")
# See whether the "production" configuration is being used
using_config("production")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.