Returns the citation set_citation() attached to the design, or, when
none was attached, the citation for the DeclareDesign package itself.
Value
The design's citation, a bibentry or a string, or
utils::citation("DeclareDesign") when none has been set.
See also
Other citing a design:
set_citation()
Examples
design <- set_citation(declare_model(N = 10, Y = rnorm(N)),
title = "Example", author = "Coppock", year = 2026)
cite_design(design)
#> Coppock (2026). “Example.” Unpublished research design declaration.