← Back to home
Comparison · Analytics

ggtrace vs moderndive

A side-by-side editorial comparison of ggtrace and moderndive — release velocity, themes, recent moves, and the top alternatives to consider.

Shared themes:r-package

ggtrace vs moderndive: at a glance

Featureggtracemoderndive
SectorAnalyticsAnalytics
Velocity score0.02.5
Sparks · 30d00
Top themesggplot2, debugging, ggproto, developer-toolingstatistics-education, webr, regression, r-package
Last editorial update1h ago7h ago
WebsiteVisit →Visit →

What is ggtrace?

A debugger for ggplot2's internals, hardening its grip as the internals it traces keep moving.

ggtrace lets users step inside ggplot2's rendering pipeline — tracing ggproto methods, dumping intermediate state, and snapshotting layer data at each stage via layer_before_stat(), layer_after_stat(), layer_before_geom() and layer_after_scale(). The workflow functions gained short aliases at 0.7.1, and recent releases have gone into making method resolution work on ggproto definitions written in forms the tracer did not originally expect.

Read the full ggtrace trajectory →

What is moderndive?

The ModernDive teaching package learns to render inside the browser that runs its own textbook

moderndive supplies the datasets, regression helpers and ggplot geoms used by the ModernDive introductory statistics textbook. Its release history is mostly dataset accumulation — much of it contributed by students in batches — punctuated by occasional function work. The latest release is different: it fixes View() so it renders inside webR, the in-browser R that powers the book's live exercises, and reworks the regression helpers to survive in-formula transformations.

Read the full moderndive trajectory →

ggtrace vs moderndive: editorial side-by-side

G
ggtrace
ANALYTICS
0.0

A debugger for ggplot2's internals, hardening its grip as the internals it traces keep moving.

◆ Current state

ggtrace lets users step inside ggplot2's rendering pipeline — tracing ggproto methods, dumping intermediate state, and snapshotting layer data at each stage via layer_before_stat(), layer_after_stat(), layer_before_geom() and layer_after_scale(). The workflow functions gained short aliases at 0.7.1, and recent releases have gone into making method resolution work on ggproto definitions written in forms the tracer did not originally expect.

◆ Where it's heading

The package matured from raw tracing primitives into named workflows: 0.6.0 added the sublayer snapshot functions and error-context helpers, 0.7.x has been sanding down how reliably those workflows find and evaluate a method. Three consecutive releases in May 2025, two of them minutes apart, all address the same class of failure — one-liner ggproto methods without braces, and inheritance resolution on instances rather than subclasses. That pattern says the remaining bugs are in method introspection, not in the tracing machinery itself.

◆ Prediction

Expect continued fixes to method resolution as ggplot2's ggproto definitions vary, and realignment work when ggplot2 4.x changes internals this package deliberately reaches into. The entries do not signal new workflow functions.

M
moderndive
ANALYTICS
2.5

The ModernDive teaching package learns to render inside the browser that runs its own textbook

◆ Current state

moderndive supplies the datasets, regression helpers and ggplot geoms used by the ModernDive introductory statistics textbook. Its release history is mostly dataset accumulation — much of it contributed by students in batches — punctuated by occasional function work. The latest release is different: it fixes View() so it renders inside webR, the in-browser R that powers the book's live exercises, and reworks the regression helpers to survive in-formula transformations.

◆ Where it's heading

The package is following the textbook's second edition into the browser. webR has no pandoc, so the DT htmlwidget path the package relied on cannot produce the self-contained HTML the notebook cell needs, and the auto-print path was gated behind interactive() being false — meaning students working through the live exercises saw an explanatory message where a table should have been. Building a static HTML table and pushing it through webR's viewer hook is a small change with a direct effect on whether the book's interactive mode works at all.

◆ Prediction

With the book's v2 datasets landed and the browser rendering path fixed, the remaining friction is most likely in other functions that assume a desktop R session.

Alternatives to ggtrace and moderndive

Other Analytics products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either ggtrace or moderndive.

See all ggtrace alternatives → · See all moderndive alternatives →

Recent activity from ggtrace and moderndive

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 12d agomoderndiveView() renders in webR; regression helpers survive formula transforms
  2. 1y agoggtraceBrace-less one-liner methods traced gracefully
  3. 1y agoggtraceget_method_inheritance() fixed for class instances
  4. 1y agoggtraceWorkflow functions recognise one-liner ggproto methods
  5. 1y agoggtraceEager layer_is(), clearer method-mismatch errors, consistent tracedump names
  6. 1y agomoderndiveDatasets and tidy_summary() for the second edition
  7. 1y agoggtracetrace_steps = "all" added; double-evaluation side effects fixed
  8. 1y agoggtracelayer_is() targets by_layer() downstream directly
  9. 2y agomoderndiveAlmond and flight datasets for the inference chapters
  10. 4y agomoderndiveTen student-curated teaching datasets
  11. 4y agomoderndiveAlaska flights subset added
  12. 5y agomoderndiveCleaner regression tables and an explicit conf.level argument

Frequently asked questions

What is the difference between ggtrace and moderndive?

Both compete on the same themes — r-package — within Analytics. moderndive is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is ggtrace better than moderndive?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. moderndive is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. For your specific use case, the alternatives sections above list other Analytics products to evaluate alongside.

What are the best alternatives to ggtrace?

Top ggtrace alternatives in Analytics are ranked by recent ship velocity. Browse the "ggtrace alternatives" section above for the current picks, or visit /alternatives/ggtrace for the full list with editorial commentary on each.

What are the best alternatives to moderndive?

Top moderndive alternatives in Analytics are ranked by recent ship velocity. Browse the "moderndive alternatives" section above for the current picks, or visit /alternatives/moderndive for the full list with editorial commentary on each.