I´ve been trying to understand this issue for an hour, I have tried again to uninstall and reinstall the package but the issue still there
library(purrr)
Error: package or namespace load failed for ‘purrr’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
namespace ‘vctrs’ 0.5.2 is already loaded, but >= 0.6.3 is required
Warning message:
package ‘purrr’ was built under R version 4.2.3
My R is up to date, but not sure what is going on. Can someone help me?
I did what you suggest but the problem still there
Error: package or namespace load failed for ‘purrr’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
namespace ‘vctrs’ 0.5.2 is already loaded, but >= 0.6.3 is required
Warning message:
package ‘purrr’ was built under R version 4.2.3
Let's see what version of vctrs RStudio sees. Shutdown and restart RStudio, then scroll through the Packages tab in the lower right pane to find vctrs. The version will be listed to the right. Also, run
sessionInfo()
and post the output here. Put three back ticks before and after the pasted output, like this:
```
sessionInfo() output goes here
```
You did not mention the version of vctrs in the packages pane. In any case, your R is a year out of date. I would start with updating that. What operating system do you have? Some Linux Repos lag a long time on R versions. After updating R, you will want to update your packages.