← Back to all sparks
T

TLF-Library

ANALYTICS
Velocity0.0

R package TLF-Library by Open-Systems-Pharmacology — release notes from GitHub.

The Open Systems Pharmacology plotting layer spent 2025 absorbing a ggplot2 major break.

pharmacometricsggplot2plottingscientific-reportingapi-rename
Current state
tlf is the plotting library behind Open Systems Pharmacology's tables, listings and figures — a ggplot2 wrapper producing the PK/PD reporting output the OSP suite generates. Recent work splits into two strands: a feature set adding Lower Limit Of Quantification annotation to time-profile and observed-vs-predicted plots alongside a reworked axis-limits API, and then hot fixes to survive ggplot2 v4.0.0's breaking changes. The axis change is the substantive one, separating cropping the view from filtering the data behind it.
Where it's heading
The library is maturing into a stable reporting dependency rather than growing new plot types — the newest releases are watermark placement, log-tick safety and upstream compatibility, not new figures. Its exposure is to ggplot2: v4.0.0 required same-day hot fixes, which is the risk profile of a wrapper this thin. Note that this feed's version numbers and publication stamps disagree, with 1.5.170 stamped four months before the lower-numbered 1.5.158, so the release order has to be read from version numbers and the changelog ranges rather than from the feed order.
Prediction
With the ggplot2 v4 fallout patched and the LLOQ work promoted to a stable 1.6 line, the next releases most likely continue as small rendering fixes. Nothing in these entries points to a new plot class in progress.

Recent moves

  1. 9mo ago

    Watermark positioning decoupled from plot scales

    Two small rendering fixes — watermark position no longer depends on scales, and log ticks are handled more safely. Maintenance on a library that has settled into its shape.

    View source ↗
  2. 11mo ago

    Hot fixes for ggplot2 v4.0.0 breaking changes

    A one-line release that matters more than its length: ggplot2's v4.0.0 broke the library and this restored it. For a wrapper this close to its upstream, keeping pace with a major ggplot2 release is the maintenance burden that defines the package.

    View source ↗
  3. 11mo ago

    LLOQ annotation and axis cropping split from data filtering

    The stable 1.6.0 release carrying the LLOQ and axis-limits work that the 1.5.x development builds had already introduced. Its own contribution is the promotion and the renamed arguments becoming the supported API rather than new capability.

    View source ↗
  4. 1y ago

    Dev build introducing LLOQ plots and the xAxisLimits rename

    The build where the LLOQ annotation and the axis-limits rework actually landed, per its changelog range back to 1.5.125. Renaming xLimits to xAxisLimits while adding xValuesLimits draws a distinction the old API blurred: cropping the axis while keeping all data, versus filtering the data the plot is built from.

    View source ↗
  5. 1y ago

    Error-bar cap fixes atop a restated feature list

    The body restates the LLOQ and axis-limits list already delivered in the neighbouring development build, so its own delta is the error-bar cap fixes. Sizing caps only when error bars are drawn is a rendering correction, not new capability.

    View source ↗
  6. 1y ago

    Dual-axis plots stop tripping cowplot

    An internal fix to dual-axis handling with the release note stating there is no visible difference in the figures. Documentation and test snapshots updated alongside.

    View source ↗