← Back to home
Comparison · Analytics

gghighlight vs incase

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

Shared themes:r-package

gghighlight vs incase: at a glance

Featuregghighlightincase
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesggplot2, data-visualisation, ggplot-extension, upstream-compatdata-wrangling, recoding, tidyverse, api-deprecation
Last editorial update1h ago1h ago
WebsiteVisit →Visit →

What is gghighlight?

A single-purpose ggplot2 extension that has spent six years tracking ggplot2 instead of growing.

gghighlight adds one verb to ggplot2: highlight the series matching a predicate and grey out the rest, with unhighlighted_params controlling how the shadowed layer renders and calculate_per_facet deciding whether the predicate evaluates within facets. The API settled at 0.2.0; the 0.5.0 release supports ggplot2 v4.0 including its ink and paper theme elements, and finally deletes gghighlight_point() and gghighlight_line().

Read the full gghighlight trajectory →

What is incase?

A safer case_when that keeps hardening its guarantees while realigning to tidyverse naming.

incase supplies in_case(), switch_case(), grep_case() and fn_case() as vectorised recoding functions in the dplyr::case_when idiom, with _fct and _list variants that return factors or lists instead of forcing atomic type conversion. The 0.4.0 release deprecates the undotted preserve, default and ordered arguments in favour of dotted forms, starting a removal clock, and adds .exhaustive to error on unmatched inputs.

Read the full incase trajectory →

gghighlight vs incase: editorial side-by-side

G
gghighlight
ANALYTICS
0.0

A single-purpose ggplot2 extension that has spent six years tracking ggplot2 instead of growing.

◆ Current state

gghighlight adds one verb to ggplot2: highlight the series matching a predicate and grey out the rest, with unhighlighted_params controlling how the shadowed layer renders and calculate_per_facet deciding whether the predicate evaluates within facets. The API settled at 0.2.0; the 0.5.0 release supports ggplot2 v4.0 including its ink and paper theme elements, and finally deletes gghighlight_point() and gghighlight_line().

◆ Where it's heading

Two threads run through the history. One is a slow deprecation, from soft-deprecating the geom-specific functions at 0.1.0, to defunct at 0.3.0, to removed at 0.5.0 — a five-year removal cycle. The other is compatibility work: purrr 1.0.0, dplyr's across() deprecation, ggplot2 3.4.0, then 4.0. Genuine feature additions are rare and small, with line_label_type at 0.4.0 the last one. Note that 0.3.2's notes restate 0.3.1's n() item, so adjacent tags here overlap rather than each describing distinct work.

◆ Prediction

The next release most likely absorbs further ggplot2 4.x changes, given that is what triggered the last three. Nothing in the entries points to a new highlighting capability.

I
incase
ANALYTICS
0.0

A safer case_when that keeps hardening its guarantees while realigning to tidyverse naming.

◆ Current state

incase supplies in_case(), switch_case(), grep_case() and fn_case() as vectorised recoding functions in the dplyr::case_when idiom, with _fct and _list variants that return factors or lists instead of forcing atomic type conversion. The 0.4.0 release deprecates the undotted preserve, default and ordered arguments in favour of dotted forms, starting a removal clock, and adds .exhaustive to error on unmatched inputs.

◆ Where it's heading

The arc is consistently toward catching recoding mistakes at the call site rather than letting them pass silently. Early releases broadened how a match can be expressed — pattern matching, function application, factor and list returns. Recent work has shifted to guarantees about the result: correct factor level ordering relative to .default, and now an exhaustiveness check. Notably 0.4.0 reverses the 0.3.2 decision to accept arguments with or without dots, trading that flexibility for namespace safety against user-supplied case names.

◆ Prediction

The deprecation warnings introduced in 0.4.0 point to a follow-up release that removes the undotted arguments outright. Whether .exhaustive eventually becomes the default is unclear from these entries.

Alternatives to gghighlight and incase

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 gghighlight or incase.

See all gghighlight alternatives → · See all incase alternatives →

Recent activity from gghighlight and incase

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

  1. 11mo agoincaseDotted arguments and an .exhaustive matching check
  2. 1y agogghighlightggplot2 v4.0 support; geom-specific functions removed
  3. 2y agogghighlightTest expectations updated for upcoming ggplot2
  4. 2y agoincaseDotted and undotted arguments both accepted
  5. 3y agogghighlightline_label_type adds geomtextpath and second-axis labelling
  6. 4y agogghighlightDeprecated dplyr::across() usage removed
  7. 5y agoincaseFix NULL return when no condition matches
  8. 5y agogghighlightExplicit NULL in unhighlighted_params preserved; aesthetic name clash fixed
  9. 5y agoincaseFactor and list return families arrive
  10. 5y agoincaseDrop unused stats import to clear a check NOTE
  11. 5y agoincasePattern and function-based matching families added
  12. 5y agogghighlightDiscrete-scale labels and n() predicates

Frequently asked questions

What is the difference between gghighlight and incase?

Both compete on the same themes — r-package — within Analytics. gghighlight and incase 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 gghighlight better than incase?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. gghighlight and incase 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 Analytics products to evaluate alongside.

What are the best alternatives to gghighlight?

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

What are the best alternatives to incase?

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