Problems with tidyverse load - Error: package or namespace load failed for ‘tidyverse’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): namespace ‘scales’ 0.4.0 is already loaded, but >= 0.4.1 is required

It seems you somehow updated the ggplot2 package without updating the scales package. install.packages("scales") should fix the error. More generally, if you haven't updated packages in a while, you might want to try the "Update" button in the Packages tab of RStudio and consider updating other packages as well.

15 Likes