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

Hello,

I installed, loaded and used tidyverse yesterday via RStudio. Absolutely no problems at all. This morning: I loaded tidyverse and received the following error message:

library('tidyverse')
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

The system told me that no updates were available. Any thoughts?

Thank you!
Greg

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.

Wonderful! Thank you so much!