Thank you for your quick response,
My biggest problem is that I get these errors with almost every package I try to install:
install.packages("pillar")
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/Iris/Documents/R/win-library/3.4’
(as ‘lib’ is unspecified)
also installing the dependencies ‘rlang’, ‘ellipsis’, ‘lifecycle’, ‘vctrs’
There are binary versions available but the source versions are later:
binary source needs_compilation
rlang 0.3.4 0.4.7 TRUE
ellipsis 0.1.0 0.3.1 TRUE
vctrs 0.1.0 0.3.1 TRUE
pillar 1.3.1 1.4.6 FALSE
Binaries will be installed
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/rlang_0.3.4.'
Content type 'application/zip' length 1080437 bytes (1.0 MB)
downloaded 1.0 MB
trying URL
Content type 'application/zip' length 30847 bytes (30 KB)
downloaded 30 KB
trying URL
Content type 'application/zip' length 499748 bytes (488 KB)
downloaded 488 KB
package ‘rlang’ successfully unpacked and MD5 sums checked
package ‘ellipsis’ successfully unpacked and MD5 sums checked
package ‘vctrs’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\Iris\AppData\Local\Temp\RtmpQl6BKm\downloaded_packages
installing the source packages ‘lifecycle’, ‘pillar’
trying URL
Content type 'application/x-gzip' length 164455 bytes (160 KB)
downloaded 160 KB
trying URL '
Content type 'application/x-gzip' length 113884 bytes (111 KB)
downloaded 111 KB
- installing source package 'lifecycle' ...
** package 'lifecycle' successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
namespace 'rlang' 0.3.4 is being loaded, but >= 0.4.0 is required
ERROR: lazy loading failed for package 'lifecycle'
- removing 'C:/Users/Iris/Documents/R/win-library/3.4/lifecycle'
In R CMD INSTALL
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-34~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\Iris\Documents\R\win-library\3.4" C:\Users\Iris\AppData\Local\Temp\RtmpQl6BKm/downloaded_packages/lifecycle_0.2.0.tar.gz' had status 1
Warning in install.packages :
installation of package ‘lifecycle’ had non-zero exit status
ERROR: dependency 'lifecycle' is not available for package 'pillar'
- removing 'C:/Users/Iris/Documents/R/win-library/3.4/pillar'
In R CMD INSTALL
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-34~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\Iris\Documents\R\win-library\3.4" C:\Users\Iris\AppData\Local\Temp\RtmpQl6BKm/downloaded_packages/pillar_1.4.6.tar.gz' had status 1
Warning in install.packages :
installation of package ‘pillar’ had non-zero exit status
The downloaded source packages are in
‘C:\Users\Iris\AppData\Local\Temp\RtmpQl6BKm\downloaded_packages’