Come to a consensus on how we as a team would like to handle application configuration.
Some methods (all live in our current repos)
- A series of
Sys.getenv() calls (often used with docker-compose.yml or azure-deploy.json)
- Passing in a JSON file (
jsonlite)
- Passing in a YAML file (
config)
- defining behavior in an
.env file (dotenv)
- defining behavior in an
.env file (base::readRenviron())
While there is some space for variation, having a general strategy team-wide would help make onboarding to a new project/codebase easier.