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

str_view_all Shows Incorrect Error Message #537

Open
brownj31 opened this issue Nov 26, 2023 · 0 comments
Open

str_view_all Shows Incorrect Error Message #537

brownj31 opened this issue Nov 26, 2023 · 0 comments

Comments

@brownj31
Copy link

The error message in str_view_all() says that str_view() was deprecated. Shouldn't it should say str_view_all() is deprecated?

library(stringr)

str_view('apple', 'a')
#> [1] | <a>pple
str_view_all('apple', 'a')
#> Warning: `str_view()` was deprecated in stringr 1.5.0.
#> i Please use `str_view_all()` instead.
#> This warning is displayed once every 8 hours.
#> Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
#> generated.
#> [1] | <a>pple

Created on 2023-11-26 with reprex v2.0.2

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

No branches or pull requests

1 participant