← Back to home
Comparison · Infra & APIs

afcharts vs mpactr

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

afcharts vs mpactr: at a glance

Featureafchartsmpactr
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themesdata-visualisation, government-statistics, ggplot2, colour-palettesmetabolomics, mass-spectrometry, peak-filtering, data-import
Last editorial update4h ago1h ago
WebsiteVisit →Visit →

What is afcharts?

UK government chart styling in ggplot2, chasing ggplot2 v4 and stretching its palette to five.

afcharts supplies the UK Analysis Function's chart styling for ggplot2, as a theme, colour and fill scales, and a use_afcharts() call that applies the styling globally. Version 0.5.1 extends the sequential palette to five shades so it can carry quintile data such as deprivation bands, renames the na_colour argument to na.value, and adds a reset argument to switch the styling back off. The package began as a first release derived from sgplot and has had three releases in roughly two years.

Read the full afcharts trajectory →

What is mpactr?

mpactr spent two spring releases normalizing case in metadata after users kept tripping on it.

mpactr filters mass-spectrometry peak tables — removing contaminants, ion duplicates and low-reproducibility features before downstream metabolomics analysis — with a data.table and Rcpp core. Development is slow and the recent releases are small. The May pair both address the same friction: column names and imported table names arriving in inconsistent case and failing to match.

Read the full mpactr trajectory →

afcharts vs mpactr: editorial side-by-side

A
afcharts
INFRA · APIS
0.0

UK government chart styling in ggplot2, chasing ggplot2 v4 and stretching its palette to five.

◆ Current state

afcharts supplies the UK Analysis Function's chart styling for ggplot2, as a theme, colour and fill scales, and a use_afcharts() call that applies the styling globally. Version 0.5.1 extends the sequential palette to five shades so it can carry quintile data such as deprivation bands, renames the na_colour argument to na.value, and adds a reset argument to switch the styling back off. The package began as a first release derived from sgplot and has had three releases in roughly two years.

◆ Where it's heading

The work splits between palette design and keeping the styling composable. On the design side the sequential palette growing to five shades is driven by a specific reporting need rather than aesthetics, since quintiles are a standard unit in UK official statistics. On the mechanical side, the na.value rename was forced by ggplot2 v4.0.1, theme_af() now respects options set by an earlier use_afcharts() call, and a reset argument acknowledges that global styling needs an off switch. These are the problems a styling package hits once people use it inside larger documents.

◆ Prediction

Expect continued adjustment to ggplot2 v4, since the na.value rename is unlikely to be the only argument affected, and further palette work driven by the reporting formats government analysts actually publish. As a sibling to aftables in the same Analysis Function family, it is likely to keep tracking that guidance rather than setting its own direction.

M
mpactr
INFRA · APIS
0.0

mpactr spent two spring releases normalizing case in metadata after users kept tripping on it.

◆ Current state

mpactr filters mass-spectrometry peak tables — removing contaminants, ion duplicates and low-reproducibility features before downstream metabolomics analysis — with a data.table and Rcpp core. Development is slow and the recent releases are small. The May pair both address the same friction: column names and imported table names arriving in inconsistent case and failing to match.

◆ Where it's heading

The package is stabilizing its input contract rather than growing its filtering methods. Metadata column names are now forced lowercase inside import_data() regardless of how the file was written, imported peak_tables names not present in the injection column are lowercased too, and get_meta_data() was renamed to get_metadata() in the same pass. Before that the work was infrastructural — Rcpp introduced to speed up filtering, data.table moved from Depends to Imports, and memory errors cleared so the package passes Valgrind and both sanitizers. Note the earliest entry compares against a v1.0.0 tag that precedes 0.1.0 in the repository, so version ordering in this feed is not reliable.

◆ Prediction

The case-normalization work has now touched both metadata columns and peak table names across two consecutive releases, which suggests the input-matching problem is not fully closed and a third pass is plausible. Nothing in these entries points to new filtering methods.

Alternatives to afcharts and mpactr

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 afcharts or mpactr.

See all afcharts alternatives → · See all mpactr alternatives →

Recent activity from afcharts and mpactr

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

  1. 3mo agompactrPeak table names lowercased when absent from the injection column
  2. 3mo agompactrMetadata column names forced lowercase; get_metadata() renamed
  3. 5mo agoafchartsSequential palette reaches five shades for quintile data
  4. 10mo agompactrValgrind and sanitizer memory issues cleared
  5. 1y agompactrRcpp added to speed up filtering; data.table moved to Imports
  6. 1y agoafchartsNamespace and argument-passing fixes
  7. 1y agoafchartsFirst release, derived from sgplot
  8. 1y agompactrmpactr 0.1.0

Frequently asked questions

What is the difference between afcharts and mpactr?

They serve adjacent needs but don't currently overlap on shipped themes. afcharts and mpactr 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 afcharts better than mpactr?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. afcharts and mpactr 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 afcharts?

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

What are the best alternatives to mpactr?

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