Skip to content

Commit 7e4872f

Browse files
Add support for purrr::imap_vec()
1 parent 91fb4c8 commit 7e4872f

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: progressify
2-
Version: 0.1.0-9002
2+
Version: 0.1.0-9003
33
Title: Progress Reporting of Common Functions via One Magic Function
44
Description: The progressify() function rewrites (transpiles) calls to sequential and parallel map-reduce functions such as base::lapply(), purrr::map(), foreach::foreach(), and plyr::llply() to signal progress updates. By combining this function with R's native pipe operator, you have a straightforward way to report progress on iterative computations with minimal refactoring, e.g. 'lapply(x, fcn) |> progressify()' and 'purrr::map(x, fcn) |> progressify()'. It is compatible with the 'futurize' package for parallelization, e.g. 'lapply(x, fcn) |> progressify() |> futurize()' and 'purrr::map(x, fcn) |> futurize() |> progressify()'.
55
Authors@R: c(

NEWS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
* Add support for **crossmap** `future_*()` variants, e.g. `y <-
66
crossmap::future_xmap(xs, fcn) |> progressify()`.
77

8+
* Add support for **furrr** 0.4.0 `*_vec()` variants:
9+
`future_map_vec()`, `future_map2_vec()`, `future_pmap_vec()`, and
10+
`future_imap_vec()`.
11+
12+
* Add support for `purrr::imap_vec()`.
13+
814

915
# Version 0.1.0 (2026-04-01)
1016

R/builtin-purrr.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ append_builtin_transpilers_for_purrr <- local({
100100
imap_int = c,
101101
imap_dbl = c,
102102
imap_chr = c,
103+
imap_vec = c,
103104
modify = c,
104105
modify2 = c,
105106
imodify = c

0 commit comments

Comments
 (0)