WORCS: A Workflow for Open Reproducible Code in Science

Publication date

2021-05-21

Authors

van Lissa, Caspar J.ISNI 0000000492906669
Brandmaier, Andreas M.
Brinkman, LoekISNI 0000000419471734
Lamprecht, Anna-LenaISNI 0000000427636105
Peikert, Aaron
Struiksma, MarijnORCID 0000-0002-1166-1424ISNI 0000000389508697
Vreede, Barbara

Editors

Advisors

Supervisors

Document Type

Article
Open Access logo

License

Abstract

Adopting open science principles can be challenging, requiring conceptual education and training in the use of new tools. This paper introduces the Workflow for Open Reproducible Code in Science (WORCS): A step-by-step procedure that researchers can follow to make a research project open and reproducible. This workflow intends to lower the threshold for adoption of open science principles. It is based on established best practices, and can be used either in parallel to, or in absence of, top-down requirements by journals, institutions, and funding bodies. To facilitate widespread adoption, the WORCS principles have been implemented in the R package worcs, which offers an RStudio project template and utility functions for specific workflow steps. This paper introduces the conceptual workflow, discusses how it meets different standards for open science, and addresses the functionality provided by the R implementation, worcs. This paper is primarily targeted towards scholars conducting research projects in R, conducting research that involves academic prose, analysis code, and tabular data. However, the workflow is flexible enough to accommodate other scenarios, and offers a starting point for customized solutions. The source code for the R package and manuscript, and a list of examplesof WORCS projects, are available at https://github.com/cjvanlissa/worcs.

Keywords

Open science, reproducibility, r, dynamic document generation, version control

Citation

Van Lissa, C J, Brandmaier, A M, Brinkman, L, Lamprecht, A-L, Peikert, A, Struiksma, M E & Vreede, B 2021, 'WORCS: A Workflow for Open Reproducible Code in Science', Data Science, vol. 4, no. 1, pp. 29-49. https://doi.org/10.3233/DS-210031