Skip to content

consort

1.2.4Package record

Create Consort Diagram

1packages dependsuggested by 1
17.8Kdownloads / year
80.0%test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.2.4
  • New drop_levels argument in consort_plot() and gen_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 own box_fn and just arguments.
  • build_grid(), build_grviz() and plot() now support any depth of nested splits.
  • consort_plot() accepts more than two allocation variables.
  • Straighter, better centred nodes in grViz plots.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.6 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.2.4
READMEYes · 198 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.2.4Citation fileNoWebsiteYes · pkgdown
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

17.8K
CRAN downloads in the past year
Rank #2,684 · ~49/day · ~1.5K/mo
Daily download trend is not available in this view yet.
1.8K30 days
5.8K90 days
17.8K1 year
Compare downloads with other packages →
Also on147 r2u9 autocran

Repository

43Stars
8Forks
6Open issues
0Open PRs
6Releases
147Commits
4Commit identities
147 commits · Last activity 2026-10-04 · 0% stars, 30d
Responsiveness
How these are sampled
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

2025-10-14 · 342026-08-14 · 43
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

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)

Coverage (1)
Coverage reporting (Codecov)
CRAN release process (1)
cran-comments.md
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing consort adds no packages beyond those that come with R.

Depends (1)
R >= 3.5.0
Imports (2)
grDevicesgrid
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Suggested by 1
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (1)
Author, Maintainer since 0.1.1 (2021)
Releases (10)

Pick two releases to compare their code metrics.

  • 1.2.4Latest
    record
    2026-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.3
    record
    2026-04-26 · diff ↗ ·
    added 3 exports
    get_consort_defaults, init_consort_defaults, set_consort_defaults
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.2.2
    record
    2024-06-04 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.2.1
    record
    2023-09-22 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.2.0
    record
    2023-04-11 · diff ↗
  • 1.1.0
    record
    2023-01-05 · diff ↗ ·
    removed 2 exports
    box_text, build_consort
    added 2 exports
    build_grid, build_grviz
  • R
    R 4.2.0 released · 2022-04-22
  • 1.0.1
    record
    2021-12-20 · diff ↗
  • 1.0.0
    record
    2021-11-04 · diff ↗ ·
    added 6 exports
    connect_box, gen_text, get_coords, grid.textbox, move_box, textbox
  • 0.2.0
    record
    2021-09-10 · diff ↗ ·
    added 1 export
    box_text
  • 0.1.1
    record
    2021-08-10
  • R
    R 4.1.0 released · 2021-05-18
Across CRAN, the median accepted release of the past year spent 26 hours in the queue, 90% under 11 days.How queue time is measured

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")
Dayim, A. (2026). consort: Create Consort Diagram (Version 1.2.4) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for consort version 1.2.4 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy