Create Consort Diagram
Overview
To make it easy to create CONSORT diagrams for the transparent reporting of participant allocation in randomized, controlled clinical trials. This is done by creating a standardized disposition data, and using this data as the source for the creation a standard CONSORT diagram. Human effort by supplying text labels on the node can also be achieved.
- New
drop_levelsargument inconsort_plot()andgen_text()to report zero-count factor levels as(n=0)(#25). - Faster plotting by caching text box measurements and simplifying layout calculations.
- Fixed node-name confusion in
build_grviz(). - Fixed an error with multiple variables in the first element of
orders. plot()now shrinks the diagram to fit the device instead of stretching it, fixing overlapping nodes.- Fixed
add_label_box()ignoring its ownbox_fnandjustarguments. build_grid(),build_grviz()andplot()now support any depth of nested splits.consort_plot()accepts more than twoallocationvariables.- Straighter, better centred nodes in
grVizplots.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 16 (1 internal)includes a package overview page
- Examples that run
- 85%11 run in a plain check · 2 never run
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 73%
- Median days to close, 50 most recently updated closed issues
- 108
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
9 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/adayim/consort on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-10-04 · The repository has a site deploy workflow
pkgdown site last built 2026-10-04, before release 1.2.4 (2026-10-05)
Show all practicesHide 1 practice
Dependencies
Installing consort adds no packages beyond those that come with R.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 1.2.4Latest2026-10-05 · current release · diff ↗ ·
4 hours in CRAN's queue
Listed in CRAN's incoming queue from 2026-10-04 23:45 to 2026-10-05 03:17 UTC, in 2 readings. - 1.2.32026-04-26 · diff ↗ ·
added 3 exports
get_consort_defaults, init_consort_defaults, set_consort_defaults - RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 1.2.22024-06-04 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 1.2.12023-09-22 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.2.02023-04-11 · diff ↗
- 1.1.02023-01-05 · diff ↗ ·
removed 2 exports
box_text, build_consortadded 2 exports
build_grid, build_grviz - RR 4.2.0 released · 2022-04-22
- 1.0.12021-12-20 · diff ↗
- 1.0.02021-11-04 · diff ↗ ·
added 6 exports
connect_box, gen_text, get_coords, grid.textbox, move_box, textbox - 0.2.0
- 0.1.12021-08-10
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2021-08-10
- Total releases
- 10 / 5 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 2.4 KB / 1 file
- Download size
- 1.7 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("consort")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.