← Back to home
Comparison · DevOps

purrr vs Vitest

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

purrr vs Vitest: at a glance

FeaturepurrrVitest
SectorDevOpsDevOps
Velocity score0.05.0
Sparks · 30d00
Top themestidyverse, functional-programming, deprecations, parallelismtesting, breaking-changes, monorepo, browser-mode
Last editorial update1h ago11h ago
WebsiteVisit →Visit →

What is purrr?

purrr finished a decade of deprecations and picked up a parallel backend.

purrr is at 1.2.2, and the last two releases are CRAN check fixes and vctrs compatibility. The substance sits in 1.2.0, which removed everything deprecated back in 0.3.0 and fully deprecated the invoke, lift, cross and splice families soft-deprecated in 1.0.0, while making map_chr() stop silently coercing logicals and numbers to strings. 1.1.0 before it raised the floor to R 4.1 and added in_parallel() on the mirai backend.

Read the full purrr trajectory →

What is Vitest?

Vitest 5 reaches RC after a beta line that reworked config, mocking defaults, and the browser runner.

Vitest has spent the last two and a half months in a v5.0.0 beta train, and 5.0.0-rc.1 is the first release candidate. Each beta carried its own block of breaking changes rather than deferring them: config lookup no longer walks ancestor directories, @vitest/runner was inlined and unpublished, webdriverio was dropped, mocks now clear before each test by default, and reporter output moved to a .vitest directory. The RC adds nested projects, a shared Vite server across inline projects, and a failure when an asynchronous assertion is never awaited.

Read the full Vitest trajectory →

purrr vs Vitest: editorial side-by-side

P
purrr
DEVOPS
0.0

purrr finished a decade of deprecations and picked up a parallel backend.

◆ Current state

purrr is at 1.2.2, and the last two releases are CRAN check fixes and vctrs compatibility. The substance sits in 1.2.0, which removed everything deprecated back in 0.3.0 and fully deprecated the invoke, lift, cross and splice families soft-deprecated in 1.0.0, while making map_chr() stop silently coercing logicals and numbers to strings. 1.1.0 before it raised the floor to R 4.1 and added in_parallel() on the mirai backend.

◆ Where it's heading

The direction is a smaller, stricter surface. Functions that predated the 1.0.0 redesign are being cleared out in stages, and the ones that remain are tightening their type contracts — map_chr() no longer coerces, every() and some() now demand a logical scalar. The parallel work is the one addition, and it arrives as a backend rather than a new way to write maps.

◆ Prediction

With the 1.0.0 soft deprecations now fully deprecated and marked for removal, the next release most likely deletes them rather than adding capability.

V
Vitest
DEVOPS
5.0

Vitest 5 reaches RC after a beta line that reworked config, mocking defaults, and the browser runner.

◆ Current state

Vitest has spent the last two and a half months in a v5.0.0 beta train, and 5.0.0-rc.1 is the first release candidate. Each beta carried its own block of breaking changes rather than deferring them: config lookup no longer walks ancestor directories, @vitest/runner was inlined and unpublished, webdriverio was dropped, mocks now clear before each test by default, and reporter output moved to a .vitest directory. The RC adds nested projects, a shared Vite server across inline projects, and a failure when an asynchronous assertion is never awaited.

◆ Where it's heading

The through-line across beta.4 to rc.1 is consolidation of the runner's architecture — one config resolution path, one Vite server, one project tree that can nest — paired with defaults that surface mistakes instead of tolerating them (strict toHaveTextContent, hoistable-scope errors, unawaited assertions failing). The browser mode is being narrowed to a single first-party stack rather than a plugin matrix. Performance work is now targeted at memory retention in vm pools and large --changed graphs, which reads as pre-GA cleanup rather than new capability.

◆ Prediction

With breaking changes still landing in rc.1, expect at least one more RC to settle the nested-projects and shared-server behaviour before a v5.0.0 final.

Alternatives to purrr and Vitest

Other DevOps 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 purrr or Vitest.

See all purrr alternatives → · See all Vitest alternatives →

Recent activity from purrr and Vitest

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

  1. 16h agoVitestVitest 5 RC: nested projects, shared Vite server, unawaited assertions fail
  2. 19d agoVitestVitest 5 beta.7: config resolution split out, pluggable benchmark providers
  3. 1mo agoVitestVitest 5 beta.6: mocks clear by default, webdriverio removed, vi.when() added
  4. 1mo agoVitestVitest 5 beta.5: no ancestor config lookup, @vitest/runner inlined
  5. 2mo agoVitestVitest 5 beta.4: benchmark API rewritten, strict hoisting and locators
  6. 4mo agopurrrCRAN check fixes
  7. 7mo agopurrrCompatibility with upcoming vctrs 0.7.0
  8. 9mo agopurrrOld deprecations removed; map_chr() stops coercing
  9. 1y agopurrrin_parallel() adds parallel and distributed maps via mirai
  10. 3y agopurrrValgrind fix and lower map_chr() deprecation overhead
  11. 3y agopurrrIndexed map() errors gain a catchable class and fields

Frequently asked questions

What is the difference between purrr and Vitest?

They serve adjacent needs but don't currently overlap on shipped themes. Vitest is currently shipping more aggressively (velocity 5.0 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 purrr better than Vitest?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. Vitest is currently shipping more aggressively (velocity 5.0 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 DevOps products to evaluate alongside.

What are the best alternatives to purrr?

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

What are the best alternatives to Vitest?

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