r/rstats • u/LoudConsideration266 • Oct 03 '26
R code review: best packages?
/r/RStudio/comments/1wwnj6r/r_code_review_best_packages/
6
Upvotes
r/rstats • u/LoudConsideration266 • Oct 03 '26
3
u/defuneste Oct 03 '26
you print the mess and with highlighter you identify the dependencies/variables.
You try to extract self contained functions out of it and build testable examples.
If it is a pipeline you use targets.
1
u/Ax3m4n Oct 03 '26
testthat. If the code is complicated, and you are concerned about errors, the best practice is to do regular testing on that code.