My Laptop had to be newly installed and now I am running the newest RStudio version (1.4.1103) with my previosly used R version 3.5.3. When trying to load the newly installed tidyverse package, I run into several errors:
When executing library(tidyverse) an error message tells me:
Fehler: package or namespace load failed for ‘tidyverse’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
es gibt kein Paket namens ‘broom’
(sorry its german, but the last message would mean: 'There is no package called 'broom')
I tried to install broom seperately then and run into the following error:
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
namespace 'dplyr' 0.8.5 is being loaded, but >= 1.0.0 is required
ERROR: lazy loading failed for package 'broom'
The error that you're getting when you install broom seems like it's saying that dplyr needs to be updated. It looks like the broom package depends on version 1.0.0 of dplyr, but you have version 0.8.5.
Have you tried re-installing dplyr to get the newer version, and then installing broom again?
Thanks a lot for your suggestions! That helped a lot!
I tried updating dplyr, but it always loaded version 0.8.5.
I updated R now to the newest version (4.0.3) and tidyverse was installed and loaded without a problem. So I suggest that my old R version 3.5.3 was not compatible with the newest dplyr versions anymore which led to the fail of installing broom and tidyverse adequately (?)