I'm trying to install the 'lifecycle' package but rlangs is required.
Upon typing install.packages('lifecyle') I get the error that I'm importing a rlangs package which is newer than required ('rlang' 0.4.5 is being loaded, but >= 0.4.10 is required).
- installing source package 'lifecycle' ...
** package 'lifecycle' successfully unpacked and MD5 sums checked
** byte-compile and prepare package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
namespace 'rlang' 0.4.5 is being loaded, but >= 0.4.10 is required
ERROR: lazy loading failed for package 'lifecycle'- removing 'C:/Users/user/R/library/lifecycle' In R CMD INSTALL
Warning in install.packages : installation of package ‘lifecycle’ had non-zero exit status
I've already uninstalled rlangs and reinstalled it on its own, but it still not working.
Not sure if it helps, but I get the following message beforehand:
There are binary versions available but the source versions are later:
rlang - binary: 0.4.5 - source: 0.4.10 - needs_compilation: TRUE
lifecycle - binary: 0.2.0 - source: 1.0.0 - needs_compilation: FALSE
This error makes little sense and differs from others posts with this kind of error.