This is the complete code and error I'm getting when trying to download the tidyverse:
install.packages("tidyverse", dependancies=T)
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/hbare/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
also installing the dependencies ‘broom’, ‘dtplyr’
There are binary versions available but the
source versions are later:
binary source needs_compilation
broom 0.8.0 1.0.1 FALSE
dtplyr 1.2.1 1.2.2 FALSE
tidyverse 1.3.1 1.3.2 FALSE
installing the source packages ‘broom’, ‘dtplyr’, ‘tidyverse’
trying URL 'https://cran.rstudio.com/src/contrib/broom_1.0.1.tar.gz'
Content type 'application/x-gzip' length 642253 bytes (627 KB)
downloaded 627 KB
trying URL 'https://cran.rstudio.com/src/contrib/dtplyr_1.2.2.tar.gz'
Content type 'application/x-gzip' length 297692 bytes (290 KB)
downloaded 290 KB
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 'broom' ...
** package 'broom' 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 'lifecycle' 1.0.0 is being loaded, but >= 1.0.1 is required
Calls: <Anonymous> ... namespaceImportFrom -> asNamespace -> loadNamespace
Execution halted
ERROR: lazy loading failed for package 'broom'
* removing 'C:/Users/hbare/Documents/R/win-library/4.0/broom'
* restoring previous 'C:/Users/hbare/Documents/R/win-library/4.0/broom'
Warning in install.packages :
installation of package ‘broom’ had non-zero exit status
* installing *source* package 'dtplyr' ...
** package 'dtplyr' 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 'lifecycle' 1.0.0 is being loaded, but >= 1.0.1 is required
Calls: <Anonymous> ... namespaceImportFrom -> asNamespace -> loadNamespace
Execution halted
ERROR: lazy loading failed for package 'dtplyr'
* removing 'C:/Users/hbare/Documents/R/win-library/4.0/dtplyr'
* restoring previous 'C:/Users/hbare/Documents/R/win-library/4.0/dtplyr'
Warning in install.packages :
installation of package ‘dtplyr’ had non-zero exit status
* installing *source* package 'tidyverse' ...
** package 'tidyverse' 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 'broom' 0.7.6 is being loaded, but >= 0.7.10 is required
Calls: <Anonymous> ... namespaceImportFrom -> asNamespace -> loadNamespace
Execution halted
ERROR: lazy loading failed for package 'tidyverse'
* removing 'C:/Users/hbare/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\hbare\AppData\Local\Temp\RtmpsR5MEH\downloaded_packages’
> library(tidyverse)
Error in library(tidyverse) : there is no package called ‘tidyverse’
>
I'm so confused and I'm very new to this. Any help would be very appreciated