Primer on Reproducible Research in R: Enhancing Transparency and Scientific Rigor

Abstract

Achieving research reproducibility is a precarious aspect of scientific practice. However, many studies across disciplines fail to be fully reproduced due to inadequate dissemination methods. Traditional publication practices often fail to provide a comprehensive description of the research context and procedures, hindering reproducibility. To address these challenges, this article presents a tutorial on reproducible research using the R programming language. The tutorial aims to equip researchers, including those with limited coding knowledge, with the necessary skills to enhance reproducibility in their work. It covers three essential components: version control using Git, dynamic document creation using rmarkdown, and managing R package dependencies with renv. The tutorial also provides insights into sharing reproducible research and offers specific considerations for the field of sleep and chronobiology research. By following the tutorial, researchers can adopt practices that enhance the transparency, rigor, and replicability of their work, contributing to a culture of reproducible research and advancing scientific knowledge.

Link to resource: https://doi.org/10.3390/clockssleep6010001

Type of resources: Reading

Education level(s): College / Upper Division (Undergraduates), Graduate / Professional

Primary user(s): Student, Teacher

Subject area(s): Social Science

Language(s): English