config icon indicating copy to clipboard operation
config copied to clipboard

config package for R

Results 20 config issues
Sort by recently updated
recently updated
newest added

Allow for the YAML config file to be named `config.yaml` (i.e., allow for either .yaml or .yml file extension) by default without needing to specify the "file" argument.

Hi! This is my first pull request here, so hope I'm doing everything correctly. Hope the comments are sufficient to explain my thinking, please reach out if something should be...

There does not currently seem to be a good way to override config parameters for testing. Assume you have e.g. a Shiny app which records uploads in a storage folder....

Core function of your pacakge - `get` function calls `merge_lists` helper inside (https://github.com/rstudio/config/blob/main/R/get.R#L95). That helper has `recursive` parameter that is very important for me, as I need to read config...

In many projects, there are "default" and "available" values that are stored in `config.yml`. However, sometimes a fork / implementation of the project may want to use different parameters without...

feature

Unnamed lists can now be overriden by another config section (fix https://github.com/rstudio/config/issues/24)

I'm not sure if this is a good idea, but I'll throw it out here: What if `config::get()` could take named dots arguments and evaluate them in `!expr` expressions in...

Given that there isn't a global standard for yml file structures, this should not be a dependency for reading a config file. I'd suggest replacing line 58 with` default_config

When I use sequences of mappings in YAML format (see example 2.4 on https://yaml.org/spec/1.2/spec.html#id2759963) I can't override this array in another config section. Sequences of mappings from YAML are represented...