This is the error message:
Error: package or namespace load failed for ‘ggplot2’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): namespace ‘rlang’ 0.3.4 is already loaded, but >= 0.4.0 is required
In addition to a Warning message:
package ‘ggplot2’ was built under R version 3.6.1
Please help. Thanks a lot.
install.packages("rlang")
and theninstall.packages("ggplot2")
. It's unclear how you may have gotten the dependencies out of sync; normally that's not very easy to do unless you are installing packages in an unusual way. – Battyinstall.packages("https://cran.r-project.org/src/contrib/Archive/rlang/rlang_0.4.10.tar.gz", repo=NULL, type="source")
to solve this issue. Very inconvenient... – Madrepore