Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace str_replace_all() with base equivalent #2174

Merged
merged 12 commits into from Sep 28, 2022
Merged

Conversation

rich-iannone
Copy link
Collaborator

This is the first of several PRs that should slowly remove knitr's dependency on stringr (and by extension, stringi). This should be the least problematic of the str_*() functions that need replacement (it's just gsub()). The util functions that replace the stringr functions will live in the utils-string_formatting.R file and all of them will use perl = TRUE.

Partially addresses #1549.

@CLAassistant
Copy link

CLAassistant commented Sep 22, 2022

CLA assistant check
All committers have signed the CLA.

@rich-iannone rich-iannone self-assigned this Sep 22, 2022
@rich-iannone rich-iannone marked this pull request as ready for review September 27, 2022 15:43
Copy link
Owner

@yihui yihui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I just tweaked the PR a little bit. I hope it makes sense.

@yihui yihui merged commit 9c92eff into master Sep 28, 2022
@yihui yihui deleted the str-replace-all-replace branch September 28, 2022 20:59
@rich-iannone
Copy link
Collaborator Author

Thanks Yihui, that’s much better :)

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants