The rmonad package presents a monadic pipeline toolset for chaining functions into stateful, branching pipelines. As functions in the pipeline are run, their results are merged into a graph of all past operations. The resulting structure allows downstream computation on node documentation, intermediate data, performance stats, and any raised messages, warnings or errors, as well as the final results. rmonad is a novel approach to designing reproducible, well-documented, and maintainable workflows in R.
Supplementary materials are available in addition to this article. It can be downloaded at RJ-2022-007.zip
Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".
For attribution, please cite this work as
Arendsee, et al., "rmonad: pipelines you can compute on", The R Journal, 2022
BibTeX citation
@article{RJ-2022-007, author = {Arendsee, Zebulun and Chang, Jennifer and Wurtele, Eve}, title = {rmonad: pipelines you can compute on}, journal = {The R Journal}, year = {2022}, note = {https://doi.org/10.32614/RJ-2022-007}, doi = {10.32614/RJ-2022-007}, volume = {14}, issue = {1}, issn = {2073-4859}, pages = {22-33} }