← Back to all sparks
T

Tplyr

ANALYTICS
Velocity0.0

Tplyr — R package from the atorus-research project

Tplyr made clinical summary tables explain where every number came from.

clinical-trialstablestraceabilityr-packagepharmaverse
Current state
Tplyr builds clinical summary tables through a layered grammar — count, descriptive statistics, and shift layers assembled onto a table object. The 1.0.0 release added a traceability metadata framework that lets a user ask which source rows produced any given cell, and later releases extended it to cases the first pass missed. The package is maintained by Atorus within the pharmaverse ecosystem.
Where it's heading
Post-1.0 work has been about completing the metadata story and filling gaps in layer composition rather than adding table types — metadata for missing subjects, add_anti_join(), missing-subject rows, data limiting, and fixes to nested count layers where an inner value appears under several outer groups. Releases cluster tightly after a major version, then go quiet, and the window ends with a patch issued days after the release it corrects.
Prediction
Further releases will most likely continue closing traceability and nested-layer edge cases rather than introducing new layer types, following the pattern of both post-1.0 feature releases.

Recent moves

  1. 2y ago

    Missing-subject metadata, add_anti_join(), and nested-layer fixes

    A patch release that carries 1.2.0's notes with it, and the substance is traceability reaching the cases it did not cover — missing subjects now have metadata, and add_anti_join() exposes the complement. The nested count layer fix addresses a real correctness bug where an inner value spanning multiple outer groups was mishandled.

    View source ↗
  2. 3y ago

    Metadata vignette fix and parenthesis hugging

    Documentation repair plus a small formatting option. The release notes are a merge list with no substantive feature behind them.

    View source ↗
  3. 3y ago

    Denominator logic fix ahead of CRAN release

    A bug fix to how denom_where is determined, bundled with typo and workflow changes. Narrow correctness work on the counting path.

    View source ↗
  4. 3y ago

    Reverse-dependency fix

    Issued five days after 1.0.0 to unbreak downstream packages. No user-facing change.

    View source ↗
  5. 3y ago

    1.0.0 introduces the traceability metadata framework

    ⚡ SPARK

    The release that defines what Tplyr is for beyond table construction, and the one every later entry in this window extends or patches.

    View source ↗