Tools for Analyzing R Code the Tidy Way

1Citations
Citations of this article
217Readers
Mendeley users who have this article in their library.

Abstract

With the current emphasis on reproducibility and replicability, there is an increasing need to examine how data analyses are conducted. In order to analyze the between researcher variability in data analysis choices as well as the aspects within the data analysis pipeline that contribute to the variability in results, we have created two R packages: matahari and tidycode. These packages build on methods created for natural language processing; rather than allowing for the processing of natural language, we focus on R code as the substrate of interest. The matahari package facilitates the logging of everything that is typed in the R console or in an R script in a tidy data frame. The tidycode package contains tools to allow for analyzing R calls in a tidy manner. We demonstrate the utility of these packages as well as walk through two examples.

Cite

CITATION STYLE

APA

McGowan, L. D., Kross, S., & Leek, J. (2020). Tools for Analyzing R Code the Tidy Way. R Journal, 12(1), 226–242. https://doi.org/10.32614/rj-2020-011

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free