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.1.9
Depends: R (≥ 2.10)
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.1), knitr (≥ 1.34), openxlsx (≥ 4.2), markdown, readxl (≥ 1.3), rvest (≥ 1.0), testthat (≥ 3.0), writexl (≥ 1.4), XLConnect (≥ 1.0), rmarkdown
Published: 2021-10-13
Author: Gjalt-Jorn Peters ORCID iD [aut, cre]
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
Form: Inclusive General-Purpose Registration Form
Form: Inclusive Systematic Review Registration Form
Form: Preregistration Template for Qualitative and Quantitative Ethnographic Studies
Form: Psychological Research Preregistration-Quantitative (aka PRP-QUANT) Template
Importing a (pre)registration form from embedded JSON from a URL
Importing a (pre)registration from embedded JSON from a URL
Create an R Markdown template from a form
Specifying preregistration content


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

Reverse dependencies:

Reverse suggests: rock


Please use the canonical form to link to this page.