Computational Reproducibility of R Code Supplements on OSF

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Saju, Lorraine, Holtdirk, Tobias, Mangroliya, Meetkumar Pravinbhai, Bleier, Arnim
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913984011042816
author Saju, Lorraine
Holtdirk, Tobias
Mangroliya, Meetkumar Pravinbhai
Bleier, Arnim
author_facet Saju, Lorraine
Holtdirk, Tobias
Mangroliya, Meetkumar Pravinbhai
Bleier, Arnim
contents Computational reproducibility is fundamental to scientific research, yet many published code supplements lack the necessary documentation to recreate their computational environments. While researchers increasingly share code alongside publications, the actual reproducibility of these materials remains poorly understood. In this work, we assess the computational reproducibility of 296 R projects using the StatCodeSearch dataset. Of these, only 264 were still retrievable, and 98.8% lacked formal dependency descriptions required for successful execution. To address this, we developed an automated pipeline that reconstructs computational environments directly from project source code. Applying this pipeline, we executed the R scripts within custom Docker containers and found that 25.87% completed successfully without error. We conducted a detailed analysis of execution failures, identifying reproducibility barriers such as undeclared dependencies, invalid file paths, and system-level issues. Our findings show that automated dependency inference and containerisation can support scalable verification of computational reproducibility and help identify practical obstacles to code reuse and transparency in scientific research.
format Preprint
id arxiv_https___arxiv_org_abs_2505_21590
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Computational Reproducibility of R Code Supplements on OSF
Saju, Lorraine
Holtdirk, Tobias
Mangroliya, Meetkumar Pravinbhai
Bleier, Arnim
Computers and Society
Software Engineering
Computational reproducibility is fundamental to scientific research, yet many published code supplements lack the necessary documentation to recreate their computational environments. While researchers increasingly share code alongside publications, the actual reproducibility of these materials remains poorly understood. In this work, we assess the computational reproducibility of 296 R projects using the StatCodeSearch dataset. Of these, only 264 were still retrievable, and 98.8% lacked formal dependency descriptions required for successful execution. To address this, we developed an automated pipeline that reconstructs computational environments directly from project source code. Applying this pipeline, we executed the R scripts within custom Docker containers and found that 25.87% completed successfully without error. We conducted a detailed analysis of execution failures, identifying reproducibility barriers such as undeclared dependencies, invalid file paths, and system-level issues. Our findings show that automated dependency inference and containerisation can support scalable verification of computational reproducibility and help identify practical obstacles to code reuse and transparency in scientific research.
title Computational Reproducibility of R Code Supplements on OSF
topic Computers and Society
Software Engineering
url https://arxiv.org/abs/2505.21590