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


#1

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


#2

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.


#3

Wonderful! Thank you so much!


#4

4 posts were split to a new topic: ERROR: dependency ‘rlang’ is not available for package ‘dbplyr’ - R 3.4.3


#8

2 posts were split to a new topic: issue with tidyverse library loading


#10