Hello, I'm brand new to R and coding. I'm trying to follow a tutorial that involves installing Tidyverse, but I keep getting an error. Please can I get any advice just to help me get started? THank you!
> install.packages("tidyverse")
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/AABB/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
also installing the dependencies ‘processx’, ‘cli’, ‘dplyr’, ‘callr’, ‘dbplyr’, ‘reprex’
There are binary versions available but the source versions are later:
binary source needs_compilation
processx 3.5.3 3.7.0 TRUE
cli 3.2.0 3.3.0 TRUE
dplyr 1.0.8 1.0.10 TRUE
callr 3.7.0 3.7.2 FALSE
dbplyr 2.1.1 2.2.1 FALSE
reprex 2.0.1 2.0.2 FALSE
tidyverse 1.3.1 1.3.2 FALSE
Binaries will be installed
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/processx_3.5.3.zip'
Content type 'application/zip' length 1251167 bytes (1.2 MB)
downloaded 1.2 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/cli_3.2.0.zip'
Content type 'application/zip' length 1256176 bytes (1.2 MB)
downloaded 1.2 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/dplyr_1.0.8.zip'
Content type 'application/zip' length 1381331 bytes (1.3 MB)
downloaded 1.3 MB
package ‘processx’ successfully unpacked and MD5 sums checked
package ‘cli’ successfully unpacked and MD5 sums checked
package ‘dplyr’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\AABB\AppData\Local\Temp\Rtmpc7VHNH\downloaded_packages
installing the source packages ‘callr’, ‘dbplyr’, ‘reprex’, ‘tidyverse’
trying URL 'https://cran.rstudio.com/src/contrib/callr_3.7.2.tar.gz'
Content type 'application/x-gzip' length 94549 bytes (92 KB)
downloaded 92 KB
trying URL 'https://cran.rstudio.com/src/contrib/dbplyr_2.2.1.tar.gz'
Content type 'application/x-gzip' length 670569 bytes (654 KB)
downloaded 654 KB
trying URL 'https://cran.rstudio.com/src/contrib/reprex_2.0.2.tar.gz'
Content type 'application/x-gzip' length 1088076 bytes (1.0 MB)
downloaded 1.0 MB
trying URL 'https://cran.rstudio.com/src/contrib/tidyverse_1.3.2.tar.gz'
Content type 'application/x-gzip' length 702514 bytes (686 KB)
downloaded 686 KB
* installing *source* package 'callr' ...
** package 'callr' successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace 'processx' 3.5.3 is being loaded, but >= 3.6.1 is required
Calls: <Anonymous> ... namespaceImportFrom -> asNamespace -> loadNamespace
Execution halted
ERROR: lazy loading failed for package 'callr'
* removing 'C:/Users/AABB/Documents/R/win-library/4.0/callr'
Warning in install.packages :
installation of package ‘callr’ had non-zero exit status
* installing *source* package 'dbplyr' ...
** package 'dbplyr' successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace 'cli' 3.2.0 is already loaded, but >= 3.3.0 is required
Calls: <Anonymous> ... namespaceImportFrom -> asNamespace -> loadNamespace
Execution halted
ERROR: lazy loading failed for package 'dbplyr'
* removing 'C:/Users/AABB/Documents/R/win-library/4.0/dbplyr'
Warning in install.packages :
installation of package ‘dbplyr’ had non-zero exit status
ERROR: dependency 'callr' is not available for package 'reprex'
* removing 'C:/Users/AABB/Documents/R/win-library/4.0/reprex'
Warning in install.packages :
installation of package ‘reprex’ had non-zero exit status
ERROR: dependencies 'dbplyr', 'reprex' are not available for package 'tidyverse'
* removing 'C:/Users/AABB/Documents/R/win-library/4.0/tidyverse'
Warning in install.packages :
installation of package ‘tidyverse’ had non-zero exit status
The downloaded source packages are in
‘C:\Users\AABB\AppData\Local\Temp\Rtmpc7VHNH\downloaded_packages’
> install.packages("tidyverse", dependencies = TRUE)
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/AABB/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
also installing the dependencies ‘processx’, ‘lazyeval’, ‘rprojroot’, ‘rlang’, ‘diffobj’, ‘cli’, ‘dplyr’, ‘callr’, ‘rex’, ‘Rcpp’, ‘brio’, ‘desc’, ‘pkgload’, ‘praise’, ‘waldo’, ‘dbplyr’, ‘reprex’, ‘covr’, ‘feather’, ‘testthat’
There are binary versions available but the source versions are later:
binary source needs_compilation
processx 3.5.3 3.7.0 TRUE
rlang 1.0.2 1.0.5 TRUE
cli 3.2.0 3.3.0 TRUE
dplyr 1.0.8 1.0.10 TRUE
callr 3.7.0 3.7.2 FALSE
Rcpp 1.0.8.3 1.0.9 TRUE
pkgload 1.2.4 1.3.0 FALSE
dbplyr 2.1.1 2.2.1 FALSE
reprex 2.0.1 2.0.2 FALSE
covr 3.5.1 3.6.1 TRUE
testthat 3.1.3 3.1.4 TRUE
tidyverse 1.3.1 1.3.2 FALSE
Binaries will be installed
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/processx_3.5.3.zip'
Content type 'application/zip' length 1251167 bytes (1.2 MB)
downloaded 1.2 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/lazyeval_0.2.2.zip'
Content type 'application/zip' length 172218 bytes (168 KB)
downloaded 168 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/rprojroot_2.0.3.zip'
Content type 'application/zip' length 109170 bytes (106 KB)
downloaded 106 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/rlang_1.0.2.zip'
Content type 'application/zip' length 1718545 bytes (1.6 MB)
downloaded 1.6 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/diffobj_0.3.5.zip'
Content type 'application/zip' length 999845 bytes (976 KB)
downloaded 976 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/cli_3.2.0.zip'
Content type 'application/zip' length 1256176 bytes (1.2 MB)
downloaded 1.2 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/dplyr_1.0.8.zip'
Content type 'application/zip' length 1381331 bytes (1.3 MB)
downloaded 1.3 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/rex_1.2.1.zip'
Content type 'application/zip' length 127050 bytes (124 KB)
downloaded 124 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/Rcpp_1.0.8.3.zip'
Content type 'application/zip' length 3355023 bytes (3.2 MB)
downloaded 3.2 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/brio_1.1.3.zip'
Content type 'application/zip' length 48863 bytes (47 KB)
downloaded 47 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/desc_1.4.1.zip'
Content type 'application/zip' length 328163 bytes (320 KB)
downloaded 320 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/praise_1.0.0.zip'
Content type 'application/zip' length 19735 bytes (19 KB)
downloaded 19 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/waldo_0.4.0.zip'
Content type 'application/zip' length 102025 bytes (99 KB)
downloaded 99 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/covr_3.5.1.zip'
Content type 'application/zip' length 305781 bytes (298 KB)
downloaded 298 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/feather_0.3.5.zip'
Content type 'application/zip' length 889624 bytes (868 KB)
downloaded 868 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/testthat_3.1.3.zip'
Content type 'application/zip' length 2559620 bytes (2.4 MB)
downloaded 2.4 MB
package ‘processx’ successfully unpacked and MD5 sums checked
package ‘lazyeval’ successfully unpacked and MD5 sums checked
package ‘rprojroot’ successfully unpacked and MD5 sums checked
package ‘rlang’ successfully unpacked and MD5 sums checked
package ‘diffobj’ successfully unpacked and MD5 sums checked
package ‘cli’ successfully unpacked and MD5 sums checked
package ‘dplyr’ successfully unpacked and MD5 sums checked
package ‘rex’ successfully unpacked and MD5 sums checked
package ‘Rcpp’ successfully unpacked and MD5 sums checked
package ‘brio’ successfully unpacked and MD5 sums checked
package ‘desc’ successfully unpacked and MD5 sums checked
package ‘praise’ successfully unpacked and MD5 sums checked
package ‘waldo’ successfully unpacked and MD5 sums checked
package ‘covr’ successfully unpacked and MD5 sums checked
package ‘feather’ successfully unpacked and MD5 sums checked
package ‘testthat’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\AABB\AppData\Local\Temp\Rtmpc7VHNH\downloaded_packages
installing the source packages ‘callr’, ‘pkgload’, ‘dbplyr’, ‘reprex’, ‘tidyverse’
trying URL 'https://cran.rstudio.com/src/contrib/callr_3.7.2.tar.gz'
Content type 'application/x-gzip' length 94549 bytes (92 KB)
downloaded 92 KB
trying URL 'https://cran.rstudio.com/src/contrib/pkgload_1.3.0.tar.gz'
Content type 'application/x-gzip' length 76008 bytes (74 KB)
downloaded 74 KB
trying URL 'https://cran.rstudio.com/src/contrib/dbplyr_2.2.1.tar.gz'
Content type 'application/x-gzip' length 670569 bytes (654 KB)
downloaded 654 KB
trying URL 'https://cran.rstudio.com/src/contrib/reprex_2.0.2.tar.gz'
Content type 'application/x-gzip' length 1088076 bytes (1.0 MB)
downloaded 1.0 MB
trying URL 'https://cran.rstudio.com/src/contrib/tidyverse_1.3.2.tar.gz'
Content type 'application/x-gzip' length 702514 bytes (686 KB)
downloaded 686 KB
* installing *source* package 'callr' ...
** package 'callr' successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace 'processx' 3.5.3 is being loaded, but >= 3.6.1 is required
Calls: <Anonymous> ... namespaceImportFrom -> asNamespace -> loadNamespace
Execution halted
ERROR: lazy loading failed for package 'callr'
* removing 'C:/Users/AABB/Documents/R/win-library/4.0/callr'
Warning in install.packages :
installation of package ‘callr’ had non-zero exit status
* installing *source* package 'pkgload' ...
** package 'pkgload' successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
namespace 'rlang' 1.0.2 is being loaded, but >= 1.0.3 is required
Calls: <Anonymous> ... withCallingHandlers -> loadNamespace -> namespaceImport -> loadNamespace
Execution halted
ERROR: lazy loading failed for package 'pkgload'
* removing 'C:/Users/AABB/Documents/R/win-library/4.0/pkgload'
Warning in install.packages :
installation of package ‘pkgload’ had non-zero exit status
* installing *source* package 'dbplyr' ...
** package 'dbplyr' successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace 'cli' 3.2.0 is already loaded, but >= 3.3.0 is required
Calls: <Anonymous> ... namespaceImportFrom -> asNamespace -> loadNamespace
Execution halted
ERROR: lazy loading failed for package 'dbplyr'
* removing 'C:/Users/AABB/Documents/R/win-library/4.0/dbplyr'
Warning in install.packages :
installation of package ‘dbplyr’ had non-zero exit status
ERROR: dependency 'callr' is not available for package 'reprex'
* removing 'C:/Users/AABB/Documents/R/win-library/4.0/reprex'
Warning in install.packages :
installation of package ‘reprex’ had non-zero exit status
ERROR: dependencies 'dbplyr', 'reprex' are not available for package 'tidyverse'
* removing 'C:/Users/AABB/Documents/R/win-library/4.0/tidyverse'
Warning in install.packages :
installation of package ‘tidyverse’ had non-zero exit status
The downloaded source packages are in
‘C:\Users\AABB\AppData\Local\Temp\Rtmpc7VHNH\downloaded_packages’
> library("tidyverse")
Error in library("tidyverse") : there is no package called ‘tidyverse’
'''