preregr: Specify (Pre)Registrations and Export Them Human- And Machine-Readably

Preregistrations, or more generally, registrations, enable explicit timestamped and (often but not necessarily publicly) frozen documentation of plans and expectations as well as decisions and justifications. In research, preregistrations are commonly used to clearly document plans and facilitate justifications of deviations from those plans, as well as decreasing the effects of publication bias by enabling identification of research that was conducted but not published. Like reporting guidelines, (pre)registration forms often have specific structures that facilitate systematic reporting of important items. The 'preregr' package facilitates specifying (pre)registrations in R and exporting them to a human-readable format (using R Markdown partials or exporting to an 'HTML' file) as well as human-readable embedded data (using 'JSON'), as well as importing such exported (pre)registration specifications from such embedded 'JSON'.

Version: 0.2.5
Depends: R (≥ 4.1)
Imports: cli (≥ 3.0), jsonlite (≥ 1.7), rmdpartials (≥ 0.5.8), yaml (≥ 2.2)
Suggests: googlesheets4 (≥ 1.0), haven (≥ 2.4.3), justifier (≥ 0.2.2), knitr (≥ 1.34), openxlsx (≥ 4.2), markdown, readxl (≥ 1.3), rvest (≥ 1.0), testthat (≥ 3.0), writexl (≥ 1.4), XLConnect (≥ 1.0), rmarkdown
Published: 2022-08-22
Author: Gjalt-Jorn Peters ORCID iD [aut, cre], Szilvia Zörgő ORCID iD [ctb], Olmo den Akker ORCID iD [ctb], Aleksandra Lazić ORCID iD [ctb]
Maintainer: Gjalt-Jorn Peters <gjalt-jorn at>
License: GPL (≥ 3)
NeedsCompilation: no
Materials: README
CRAN checks: preregr results


Reference manual: preregr.pdf
Vignettes: Creating a form from a spreadsheet
Creating a (pre)registration form
Form: OSF Prereg form (v1)
Form: Qualitative Preregistration Template (v1)
Form: Inclusive General-Purpose Registration Form (v1.0)
Form: Inclusive General-Purpose Registration Form (v1.1)
Form: Inclusive Systematic Review Registration Form (v0.92)
Form: Preregistration Template for Secondary Data Analysis (v1)
Form: Preregistration Template for Qualitative and Quantitative Ethnographic Studies (v0.93)
Form: Preregistration Template for Qualitative and Quantitative Ethnographic Studies (v0.94)
Form: Psychological Research Preregistration-Quantitative (aka PRP-QUANT) Template (v1)
Importing a (pre)registration form from embedded JSON from a URL
Importing a (pre)registration from embedded JSON from a URL
Intro to preregr
Create an R Markdown template from a form
Specifying preregistration content


Package source: preregr_0.2.5.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): preregr_0.2.5.tgz, r-oldrel (arm64): preregr_0.2.5.tgz, r-release (x86_64): preregr_0.2.5.tgz, r-oldrel (x86_64): preregr_0.2.5.tgz
Old sources: preregr archive


Please use the canonical form to link to this page.