Closed sahilseth closed 1 year ago
Good questions.
We encountered the idea of better support for baseline configurations as well. I had lobbed that at the time at @dcdillon who found it intriguing enough to generalize it to a whole stream processor: https://github.com/dcdillon/includize
I am still not sure all this should go. Obviously a more general solution in TOML proper would be ideal, but then I waited several years to get better date time support (which we now have). We could also lobby Chase for inclusion in cpptoml but he is probably less than thrilled to depart from a standard.
In work in a different environment now where JSON rules (blech!) and I just post-process in R. Maybe that would actually be easiest for you too?
Closing this for being stale. We will update to using toml++ soon, maybe you want to look into updating with it.
hi @eddelbuettel, I recently found out about
toml
, and really like the clean definition.A while back I had written a pkg params, which we heavily use in flowr. We are using
tsv
files for configuration, to make it simple instead of yaml etc. However, toml, strikes a much better balance.I would appreciate your thoughts on being able to update values, in a sequential manner.
Imagine a scenario of baseline configuration, and then add some project specific configurations. We would like to update the values, by loading new files. We achieved this in params via the following:
Created on 2019-04-19 by the reprex package (v0.2.1)