Hi, and welcome!
Usually, a reproducible example, FAQ: What's a reproducible example (`reprex`) and how do I do one? is very helpful to troubleshoot. In this case, however, the fix should work, assuming neither of the packages really is calling string i
instead of stringi
.
install.packages("stringi")