← Back to home
Comparison · Infra & APIs

ggh4x vs testdat

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

ggh4x vs testdat: at a glance

Featureggh4xtestdat
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themesggplot2, data-visualization, facets, deprecationdata-validation, unit-testing, testthat, tidyselect
Last editorial update1h ago1h ago
WebsiteVisit →Visit →

What is ggh4x?

Handed its axis and legend guides to ggplot2 and legendry, and kept the facets

ggh4x is a set of ggplot2 extensions — nested and manual facets, per-facet scales, forced panel sizes, and statistics such as stat_difference() and stat_rle(). Its guide functions, once a substantial part of the package, are deprecated: 0.3.0 redirected users to ggplot2's own guide arguments and to the legendry package, and 0.3.1 made the deprecated functions return plain equivalents. What remains as this package's own territory is facetting and panel layout.

Read the full ggh4x trajectory →

What is testdat?

Unit testing for datasets, built on testthat and now bending to its next release.

testdat applies the testthat idiom to data rather than code: expectations that assert properties of a data frame, run as a suite, with results exportable to Excel. Recent releases have been about correctness and upstream compatibility. Expectations are now constructed via new_expectation() ahead of testthat 3.3.0, and expect_base() errors on a missing variable instead of silently passing.

Read the full testdat trajectory →

ggh4x vs testdat: editorial side-by-side

G
ggh4x
INFRA · APIS
0.0

Handed its axis and legend guides to ggplot2 and legendry, and kept the facets

◆ Current state

ggh4x is a set of ggplot2 extensions — nested and manual facets, per-facet scales, forced panel sizes, and statistics such as stat_difference() and stat_rle(). Its guide functions, once a substantial part of the package, are deprecated: 0.3.0 redirected users to ggplot2's own guide arguments and to the legendry package, and 0.3.1 made the deprecated functions return plain equivalents. What remains as this package's own territory is facetting and panel layout.

◆ Where it's heading

The handover was signalled well in advance. Version 0.2.5 set the guides' lifecycle to 'questioning' and said outright they might migrate to a new package once ggplot2 overhauled its guide system, and 0.3.0 executed that eighteen months later. Much of the rest of the changelog is anticipatory compatibility work for upcoming ggplot2 releases, the standing cost of being an extension package. Releases carry playful codenames that say nothing about their contents.

◆ Prediction

The deprecated guide functions are scheduled for removal in the next non-hotfix release, so expect that next; continued work should concentrate on facets and panel sizing, the areas neither ggplot2 nor legendry has absorbed.

T
testdat
INFRA · APIS
0.0

Unit testing for datasets, built on testthat and now bending to its next release.

◆ Current state

testdat applies the testthat idiom to data rather than code: expectations that assert properties of a data frame, run as a suite, with results exportable to Excel. Recent releases have been about correctness and upstream compatibility. Expectations are now constructed via new_expectation() ahead of testthat 3.3.0, and expect_base() errors on a missing variable instead of silently passing.

◆ Where it's heading

The package reached its shape early and has spent the years since sanding it. The design decisions worth noting are all in the past: the move to tidyselect at 0.3.0, the test data pipe at 0.4.0, and the failure messages at 0.4.1 that name which variable failed rather than just reporting a count. Since then activity is sparse and reactive, tracking testthat and R-devel. The two 0.4.3 and 0.4.4 tags arriving ninety minutes apart on the same day is the signature of a release caught by an upstream deadline.

◆ Prediction

The immediate work is finishing the testthat 3.3.0 adaptation. Beyond that the notes give no evidence of new expectation families; the package looks maintained rather than developed.

Alternatives to ggh4x and testdat

Other Infra & APIs 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 ggh4x or testdat.

See all ggh4x alternatives → · See all testdat alternatives →

Recent activity from ggh4x and testdat

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

  1. 9mo agotestdatExpectations rebuilt on new_expectation() for testthat 3.3.0
  2. 9mo agotestdatexpect_base() errors on a missing variable instead of passing
  3. 1y agoggh4xDeprecated guides now return plain ggplot2 equivalents
  4. 1y agoggh4xGuide functions deprecated in favour of ggplot2 and legendry
  5. 2y agoggh4xCRAN note fix and two facet bug fixes
  6. 2y agoggh4xAnticipatory changes for ggplot2 3.5.0
  7. 2y agotestdatGrouped data frames ungrouped before testing
  8. 3y agoggh4xGuides marked 'questioning'; render_empty and panel-area sizing
  9. 3y agoggh4xSemi-discrete manual scales and facet whitespace handling
  10. 3y agotestdatFailure messages name the failing variable; expect_depends() added
  11. 4y agotestdatTest data pipe lets expectations sit inline in a chain
  12. 4y agotestdatCRAN release moves variable selection to tidyselect

Frequently asked questions

What is the difference between ggh4x and testdat?

They serve adjacent needs but don't currently overlap on shipped themes. ggh4x and testdat are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is ggh4x better than testdat?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. ggh4x and testdat are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). For your specific use case, the alternatives sections above list other Infra & APIs products to evaluate alongside.

What are the best alternatives to ggh4x?

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

What are the best alternatives to testdat?

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