← Back to home
Comparison · Analytics

discrim vs writexl

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

discrim vs writexl: at a glance

Featurediscrimwritexl
SectorAnalyticsAnalytics
Velocity score0.06.3
Sparks · 30d01
Top themestidymodels, discriminant analysis, parsnip extension, classificationxlsx, libxlsxwriter, cell-formatting, major-version
Last editorial update5h ago1h ago
WebsiteVisit →Visit →

What is discrim?

discrim settled into a thin engine shim after handing its model definitions to parsnip.

discrim is the parsnip extension for discriminant analysis, exposing linear, quadratic, flexible and regularized variants through the tidymodels interface. Its model definition functions moved into parsnip itself in 0.2.0, leaving this package as the engine and prediction layer. The two most recent releases are a documentation fix and a single prediction bug.

Read the full discrim trajectory →

What is writexl?

writexl spent nine years refusing to do formatting, then shipped all of it in 2.0.0.

For most of its history writexl was a deliberately minimal wrapper: bump the vendored libxlsxwriter, handle NA and Date coercion correctly, support a list of data frames for multiple sheets, and nothing else. 2.0.0, released August 2026, changes that — near-full libxlsxwriter coverage, cell/worksheet/workbook formatting, cell comments, an `xl_cell_general` class carrying value, formula and hyperlink, a cell-by-cell refactor, libxlsxwriter 1.2.4, and memory-safety work. It landed the same day as 1.5.4, a typo fix on the old line.

Read the full writexl trajectory →

discrim vs writexl: editorial side-by-side

D
discrim
ANALYTICS
0.0

discrim settled into a thin engine shim after handing its model definitions to parsnip.

◆ Current state

discrim is the parsnip extension for discriminant analysis, exposing linear, quadratic, flexible and regularized variants through the tidymodels interface. Its model definition functions moved into parsnip itself in 0.2.0, leaving this package as the engine and prediction layer. The two most recent releases are a documentation fix and a single prediction bug.

◆ Where it's heading

The package built out method coverage early, adding quadratic discriminant analysis in 0.1.2, the sda and sparsediscrim engines in 0.1.3 and case weights in 1.0.0, then stopped growing. Handing definitions upstream to parsnip in 0.2.0 confirmed the shape: discrim is where engines are wired, not where the API lives. Cadence since 2022 is roughly one small fix a year.

◆ Prediction

Nothing in the entries points to new methods or engines; the next release is most likely another CRAN or prediction-path fix.

W
writexl
ANALYTICS
6.3

writexl spent nine years refusing to do formatting, then shipped all of it in 2.0.0.

◆ Current state

For most of its history writexl was a deliberately minimal wrapper: bump the vendored libxlsxwriter, handle NA and Date coercion correctly, support a list of data frames for multiple sheets, and nothing else. 2.0.0, released August 2026, changes that — near-full libxlsxwriter coverage, cell/worksheet/workbook formatting, cell comments, an `xl_cell_general` class carrying value, formula and hyperlink, a cell-by-cell refactor, libxlsxwriter 1.2.4, and memory-safety work. It landed the same day as 1.5.4, a typo fix on the old line.

◆ Where it's heading

The package has changed category. Its selling point was being the dependency-free, opinion-free way to get a data frame into xlsx; 2.0.0 makes it a formatting-capable writer that now compares itself against openxlsx2 in its own test suite. The cell-by-cell refactor is what made that possible and is also the largest structural change in the package's history. Note that a single contributor drove essentially all of it.

◆ Prediction

Expect follow-up releases fixing edge cases in the new formatting and comment APIs — the cell-by-cell rewrite is too large to land clean, and the 2.0.0 notes already mention an off-by-one in date columns.

Alternatives to discrim and writexl

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 discrim or writexl.

See all discrim alternatives → · See all writexl alternatives →

Recent activity from discrim and writexl

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

  1. 8d agowritexlwritexl 2.0.0 adds formatting, comments and full libxlsxwriter coverage
  2. 8d agowritexlwritexl 1.5.4 fixes a documentation typo
  3. 8mo agodiscrimFix for FDA models failing at prediction time
  4. 11mo agodiscrimDocumentation links updated to stay on CRAN
  5. 4y agodiscrimCase weights enabled for flexible and linear discriminant models
  6. 4y agodiscrimModel definitions moved upstream into parsnip
  7. 5y agodiscrimsda and sparsediscrim engines added for LDA and QDA
  8. 5y agodiscrimdiscrim_quad() added; package relicensed to MIT
  9. 5y agowritexlwritexl 1.4.0 updates libxlsxwriter to 1.0.3
  10. 6y agowritexlwritexl 1.2 fixes NA in formulas and hyperlinks
  11. 7y agowritexlwritexl 1.1 fixes NA strings and bit64 coercion
  12. 8y agowritexlwritexl 1.0 writes Date values as datetimes

Frequently asked questions

What is the difference between discrim and writexl?

They serve adjacent needs but don't currently overlap on shipped themes. writexl is currently shipping more aggressively (velocity 6.3 vs 0.0), with 1 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 discrim better than writexl?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. writexl is currently shipping more aggressively (velocity 6.3 vs 0.0), with 1 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 discrim?

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

What are the best alternatives to writexl?

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