I'm getting the following error when I'm loading tidyverse. It was all working fine a few minutes ago when I was running my shinyapp. How should I resolve this?
Error: package or namespace load failed for ‘tidyverse’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): namespace ‘rlang’ 0.3.0.1 is already loaded, but >= 0.3.1 is required
If the tidyverse package doesn't load, it probably means it didn't install correctly the first time. Please rerun the package installation, then pay careful attention to the final output. If you find any errors reported in the console, please post these here, so we can help troubleshoot.
When you load the tidyverse package, R will also load the following packages: ggplot2. dplyr.
The tidyverse is an opinionated collection of R packages designed for data science. All packages share an underlying design philosophy, grammar, and data structures. See how the tidyverse makes data science faster, easier and more fun with “R for Data Science”.
I had the same problem but managed to tackle it. You may remove the current version of rlang using the following command:
remove.packages("rlang")
and then install the rlang again:
install.packages("rlang")
After that run the library:
library(tidyverse)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With