I have this error since updating my R Studio to newest version:
if i want to load in the package tidyverse, this message is coming:
library(tidyverse)
Error: package or namespace load failed for ‘tidyverse’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
es gibt kein Paket namens ‘lifecycle’
sessionInfo()
R version 4.0.5 (2021-03-31)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 22000)
install.packages("lifecycle")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/zappe/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
also installing the dependencies ‘cli’, ‘rlang’
There are binary versions available but the source versions are later:
binary source needs_compilation
cli 3.2.0 3.4.1 TRUE
rlang 1.0.2 1.0.6 TRUE
lifecycle 1.0.1 1.0.3 FALSE
Binaries will be installed
trying URL 'ht*tps://cran.rstudio.com/bin/windows/contrib/4.0/cli_3.2.0.zip'
Content type 'application/zip' length 1255499 bytes (1.2 MB)
downloaded 1.2 MB
ERROR: dependencies 'cli', 'rlang' are not available for package 'lifecycle'
removing 'C:/Users/zappe/Documents/R/win-library/4.0/lifecycle'
Warning in install.packages :
installation of package ‘lifecycle’ had non-zero exit status
The downloaded source packages are in
‘C:\Users\zappe\AppData\Local\Temp\RtmpyW87PO\downloaded_packages’
install.packages(tidyverse)
Error in install.packages : object 'tidyverse' not found
Namensraum ‘lifecycle’ 1.0.0 ist geladen, aber >= 1.0.1 wird benötigt
needed to do the ""symbal bc of hyperlik restriction*
You are using a fairly old R version so there are no precompiled binaries for the latest package versions available for it, you can either install RTools40 in your system so you can compile packages from source or update your R version so you can get access to precompiled binaries.