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
The error message in
str_view_all()
says thatstr_view()
was deprecated. Shouldn't it should saystr_view_all()
is deprecated?Created on 2023-11-26 with reprex v2.0.2