selecta: Declarative EQUATOR-Style Flow Diagrams for Clinical Studies

Build EQUATOR-style flowcharts for clinical studies by sequentially defining inclusion and exclusion criteria, study arms, and endpoints. The pipe-friendly API supports CONSORT (randomized trials), STROBE (observational cohorts), STARD (diagnostic accuracy), PRISMA (systematic reviews), and MOOSE (observational meta-analysis) diagram layouts, as well as multi-source convergence, split-and-recombine, factorial, and hybrid topologies. Diagrams are rendered via 'grid' graphics in both data-driven (automatic counting) and manual-count modes, with optional 'DiagrammeR'/'Graphviz' output.

Version: 0.6.0
Depends: R (≥ 4.1.0)
Imports: data.table, grid
Suggests: DiagrammeR, knitr, ragg, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-06-24
DOI: 10.32614/CRAN.package.selecta (may not be active yet)
Author: Paul Hsin-ti McClelland ORCID iD [aut, cre, cph]
Maintainer: Paul Hsin-ti McClelland <PaulHMcClelland at protonmail.com>
BugReports: https://github.com/phmcc/selecta/issues
License: GPL (≥ 3)
URL: https://phmcc.codeberg.page/selecta, https://codeberg.org/phmcc/selecta, https://github.com/phmcc/selecta
NeedsCompilation: no
Citation: selecta citation info
Materials: README, NEWS
CRAN checks: selecta results

Documentation:

Reference manual: selecta.html , selecta.pdf
Vignettes: Advanced Workflows (source, R code)
Enrollment Diagrams (source, R code)
Graphviz Export (source, R code)
Split-and-Recombine Diagrams (source, R code)
Systematic Reviews (source, R code)

Downloads:

Package source: selecta_0.6.0.tar.gz
Windows binaries: r-devel: not available, r-release: selecta_0.6.0.zip, r-oldrel: not available
macOS binaries: r-release (arm64): selecta_0.6.0.tgz, r-oldrel (arm64): selecta_0.6.0.tgz, r-release (x86_64): selecta_0.6.0.tgz, r-oldrel (x86_64): selecta_0.6.0.tgz

Linking:

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