DesignLibrary: A Library of Declared Designs

A lightweight library of research designs declared with 'DeclareDesign'. Designs live as self-contained R files; editable parameters are read from the design itself. Optional YAML metadata adds labels, categories, tips, and book aliases. Includes maintainer tools to index, audit, and bake small diagnosis previews, plus a bundled Shiny browser ('designs_shiny_app()').

Version: 2.0.0
Depends: R (≥ 4.1.0), DeclareDesign (≥ 2.0.0)
Imports: fabricatr (≥ 2.0.0), randomizr (≥ 2.0.0), estimatr (≥ 2.0.0), rlang, yaml, utils, stats
Suggests: shiny, generics, bslib, htmltools, markdown, DT, ggplot2, remotes, pkgdown, testthat (≥ 3.0.0), knitr, rmarkdown, withr, margins, broom
Published: 2026-11-16
DOI: 10.32614/CRAN.package.DesignLibrary
Author: Macartan Humphreys [aut], Graeme Blair [aut], Jasper Cooper [aut], Alexander Coppock [aut, cre], Clara Bicalho [aut], Neal Fultz [aut], Lily Medina [aut]
Maintainer: Alexander Coppock <acoppock at gmail.com>
BugReports: https://github.com/DeclareDesign/DesignLibrary/issues
License: MIT + file LICENSE
URL: https://github.com/DeclareDesign/DesignLibrary, https://declaredesign.org/r/designlibrary/
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: DesignLibrary results

Documentation:

Reference manual: DesignLibrary.html , DesignLibrary.pdf
Vignettes: DesignLibrary: a library of declared designs (source, R code)
Contributing a design (source, R code)
Upgrading from DesignLibrary 0.1: what changes, what does not, and why (source, R code)

Downloads:

Package source: DesignLibrary_2.0.0.tar.gz
Windows binaries: r-devel: DesignLibrary_0.1.10.zip, r-release: DesignLibrary_0.1.10.zip, r-oldrel: DesignLibrary_0.1.10.zip
macOS binaries: r-release (arm64): DesignLibrary_2.0.0.tgz, r-oldrel (arm64): DesignLibrary_2.0.0.tgz, r-release (x86_64): DesignLibrary_2.0.0.tgz, r-oldrel (x86_64): DesignLibrary_2.0.0.tgz
Old sources: DesignLibrary archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=DesignLibrary to link to this page.