using_config {ami} | 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")