← Back to all sparks
C

crossmap

ANALYTICS
Velocity0.0

R package crossmap by rossellhayes — release notes from GitHub.

crossmap's roadmap is set by purrr and furrr — it deprecates what upstream deprecates.

purrr extensionfunctional programmingdeprecationsfurrrr package
Current state
A small package for mapping over combinations of arguments, following purrr and furrr conventions. Its own functional additions stopped after xpluck() in 2023 and the cross_fit() clustering work in 2022. Everything since tracks upstream: xmap_raw() and future_xmap_raw() are now defunct because purrr removed map_raw() and furrr removed future_pmap_raw(), and re-exported parallel helpers now come from parallelly rather than future.
Where it's heading
The package has settled into being a compatible extension rather than an independent one — its release notes read as a mirror of purrr's and furrr's deprecation schedules. Note that the release stamps are unreliable here: several versions were backfilled minutes apart and the 0.3.x tags carry timestamps in reverse version order, so feed position says nothing about what shipped when.
Prediction
Expect the next release to be driven by another purrr or furrr change rather than new functionality, since that has been the sole trigger for the last four.

Recent moves

  1. 6mo ago

    Raw-vector mapping functions removed

    xmap_raw() and future_xmap_raw() become defunct, completing the removal begun when purrr deprecated its *_raw() family. Callers relying on them break rather than warn — the upstream schedule now sets this package's API.

    View source ↗
  2. 6mo ago

    Re-exports moved to the parallelly namespace

    Re-exported functions now come from parallelly instead of future. A namespace correction with no behavioural change, published two minutes before 0.5.0.

    View source ↗
  3. 11mo ago

    Future-backed tests skipped on CRAN

    Skips tests of the future-backed functions on CRAN to avoid check failures. Packaging only.

    View source ↗
  4. 11mo ago

    Internal test fixes

    Non-user-facing changes to fix test failures, published seconds before 0.4.2. Two halves of one maintenance push.

    View source ↗
  5. 3y ago

    xpluck adds multi-index plucking

    Adds xpluck(), a purrr::pluck() variant accepting multiple indices at each step, and deprecates the *_raw() functions in step with purrr 1.0.0. The last release to add capability of its own.

    View source ↗
  6. 4y ago

    Cluster specifications supported in cross_fit

    cross_fit() gains a clusters argument for models like estimatr::lm_robust(), with a cross_fit_robust() wrapper, and tidy_glance() moves to broomExtra for wider model coverage. Note the stamp: this tag sits above 0.3.2 and 0.3.3 in the feed despite being the older version.

    View source ↗