tidyverse not loaded, it says “namespace ‘vctrs’ 0.2.0 is already loaded, but >= 0.2.1 is required”

This has already been answered above, and I am leaving my notes for other “beginners” that may have run into the same thing. I encountered this issue after installing tidymodels (have since removed).

  • Had issue with rlang first: namespace ‘rlang’ 0.4.7 is already loaded, but >= 0.4.10 is required
  • remove.packages(“rlang”), install.packages(“rlang”)
  • Then had issue with vctrs: namespace ‘vctrs’ 0.3.2 is already loaded, but >= 0.3.6 is required
  • does not respond to the remove/install process.
  • Shut down R, manually delete the vctrs directory from lib, per Edward’s message above. Will be somewhere like: C:\Users\Chris\Documents\R\win-library\3.6\vctrs
  • Start RStudio. install.packages(“vctrs”)

After this, I could load tidyverse again.

Leave a Comment