This PR replaces several uses of stringr functions with base equivalents. This is being done to remove the dependency on the stringr package. The stringr functions to be replaced are str_locate(), str_locate_all(), str_match_all(), and str_extract_all().
This PR replaces several uses of stringr functions with base equivalents. This is being done to remove the dependency on the stringr package. The stringr functions to be replaced are
str_locate()
,str_locate_all()
,str_match_all()
, andstr_extract_all()
.Fixes: https://github.com/yihui/knitr/issues/1549