Skip to content

Remove all *_raw() functions#298

Merged
DavisVaughan merged 2 commits intomainfrom
feature/remove-raw
Jan 23, 2026
Merged

Remove all *_raw() functions#298
DavisVaughan merged 2 commits intomainfrom
feature/remove-raw

Conversation

@DavisVaughan
Copy link
Copy Markdown
Collaborator

@DavisVaughan DavisVaughan commented Jan 23, 2026

purrr 1.0.0 deprecated them, and we'd like to remove them from purrr eventually.

I don't really see much usage of them on CRAN:
https://github.com/search?q=org%3Acran%20future_map_raw&type=code
https://github.com/search?q=org%3Acran+future_map2_raw&type=code
https://github.com/search?q=org%3Acran+future_imap_raw&type=code
https://github.com/search?q=org%3Acran+future_invoke_map_raw&type=code

It does look like crossmap was using future_pmap_raw for their own wrapper, but we can ask them to remove that, they've already deprecated the function calling it
https://github.com/search?q=org%3Acran+future_pmap_raw&type=code

I went ahead and opened an issue
rossellhayes/crossmap#15

We can look into a future_map_vec() to see if that makes any sense, which is what is recommended instead of map_raw() these days (a future_map() followed by a simplify operation).

@DavisVaughan DavisVaughan merged commit a74d203 into main Jan 23, 2026
11 of 12 checks passed
@DavisVaughan DavisVaughan deleted the feature/remove-raw branch January 23, 2026 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant