r-lib / lintr

Static Code Analysis for R
https://lintr.r-lib.org
Other
1.19k stars 184 forks source link

Is There a Plan to Include Linters for Reproducibility Best-Practices? #2509

Open EagleoutIce opened 9 months ago

EagleoutIce commented 9 months ago

So, just to repeat the title: is there a plan to include linter rules for best practices to achieve reproducible scripts? With reproducible R scripts being a problem (e.g., outlined by Trisovic et al. (2022)) i think this would be a great addition!

For example linter rules could check:

Or are these already covered somewhere (if so, i was unable to find them and apologize)? I would be happy to contribute regarding this!

MichaelChirico commented 9 months ago

Sure, what sorts of static analyses do you have in mind? Please file more specific follow-ups for tracking (you can keep this issue open as the master, c.f. #884).

The path linters could go for some love IMO, e.g. #468, #1356.

EagleoutIce commented 5 months ago

Thank you very much for the pointers! I hope I find time for them soon!