tidyverse / stringr

A fresh approach to string manipulation in R
https://stringr.tidyverse.org
Other
601 stars 188 forks source link

Fix vectorised replacement failures #551

Open hadley opened 1 month ago

hadley commented 1 month ago
hadley commented 1 month ago

This might be a fun challenge if you're very familiar with the package development process — you need install the dev version of string, fork each package, use pak::pak() to load all dependencies, then run tests/R CMD check, and fixes the revealed bugs in str_replace_all(). Previously the functions were passed a single function and now they're passed a character vector, so you'll need to figure out how to vectorise the existing code.