The config package manages environment-specific configuration values in R using YAML files. It allows you to define different settings for development, testing, and production environments and switch between them programmatically.
The package uses a simple YAML file structure with named configurations like “default” and “production” that contain key-value pairs. You access configuration values by calling config::get() to retrieve either the entire configuration list or specific values. The package supports inheritance between configurations and R expressions in config files, making it practical for deploying code across different environments without hardcoding values.
Contributors#
Resources featuring config#
Accelerating Study Insights with Shiny and Posit | Regeneron x Atorus
In this session, Atorus and Regeneron, and Posit showcase their innovative partnership.
Topics covered: -Building a Unified Analytical Environment: Learn how to reduce friction by integrating fragmented SAS and R workflows. -Case Study: A Config-Driven App: See a live demo of how a simple configuration file can build a fully functional application for data review and safety monitoring. -Operational Shifts: Understand how internal teams are empowered to independently manage and extend their own applications in a regulated environment.
This isn’t just about technology—it’s about the strategic shift required to simplify development and accelerate insights within a regulated environment.
Learn more about Posit’s work in the pharma space: https://posit.co/use-cases/pharma/?utm_source=youtube&utm_medium=social&utm_term=pharma&utm_content=atorus-regeneron