Post #1688994
2026-03-30 15:28 UTC
Replies (4)
-
@defuneste@fosstodon.org 2026-03-30 15:32
@lwpembleton @drdcarpenter @mschmidty Team no (or very limited) yaml! why not using a list instead? cc @milesmcbain for debate!
-
@Mehrad@fosstodon.org 2026-03-30 15:40
@lwpembleton I do something "similar", but also different. I store the config in an R file called `config.R` and I source the the file in the beginning of my script. Something like: ```r cfg <- list( # some comment input_path = "/some/path", output_path = "/some/path", # define some of the cutoffs for blah cutoffs = list( fdr = .05, logfc = 1.5 ) ) ``` The advantage is that it is easy to debug, zero dependency, can contain comments. @drdcarpenter @mschmidty
-
@drdcarpenter@fosstodon.org 2026-03-30 15:59
@lwpembleton @mschmidty thanks for this. Useful.
-
@mschmidty@fosstodon.org 2026-03-30 16:23
@lwpembleton @drdcarpenter thanks for the example. I’ve considered using yaml for a few things but haven’t implemented.