Hello, Ive been getting errors every time I try and install any packages into R. Ive looked through every page online and have updated Rstudio (1.3.1093) and my Mac to Big Sur (11.0.1) and neither have helped.
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
namespace ‘rlang’ 0.3.1 is being loaded, but >= 0.4.6 is required
ERROR: lazy loading failed for package ‘tidyselect’
- removing ‘/Users/jameshallam/Library/R/3.4/library/tidyselect’
- restoring previous ‘/Users/jameshallam/Library/R/3.4/library/tidyselect’
Warning in install.packages :
installation of package ‘tidyselect’ had non-zero exit status
ERROR: dependencies ‘lifecycle’, ‘pillar’ are not available for package ‘tibble’ - removing ‘/Users/jameshallam/Library/R/3.4/library/tibble’
Warning in install.packages :
installation of package ‘tibble’ had non-zero exit status
ERROR: dependencies ‘lifecycle’, ‘tibble’ are not available for package ‘dplyr’ - removing ‘/Users/jameshallam/Library/R/3.4/library/dplyr’
Warning in install.packages :
installation of package ‘dplyr’ had non-zero exit status
ERROR: dependencies ‘dplyr’, ‘tibble’, ‘lifecycle’ are not available for package ‘tidyr’ - removing ‘/Users/jameshallam/Library/R/3.4/library/tidyr’
Warning in install.packages :
installation of package ‘tidyr’ had non-zero exit status
ERROR: dependencies ‘dplyr’, ‘tibble’, ‘tidyr’ are not available for package ‘broom’ - removing ‘/Users/jameshallam/Library/R/3.4/library/broom’
Warning in install.packages :
installation of package ‘broom’ had non-zero exit status
ERROR: dependencies ‘tidyr’, ‘broom’, ‘tibble’, ‘dplyr’, ‘car’ are not available for package ‘rstatix’ - removing ‘/Users/jameshallam/Library/R/3.4/library/rstatix’
Warning in install.packages :
installation of package ‘rstatix’ had non-zero exit status
This is a section of the error. I'm not sure if this is just a Mac glitch. I've tried installing the packages one at a time and this doesn't work either.
Any help would be appreciated.