I need to install this package into R 3.5 so I can submit an R script that was created on that version. I have to do this via linux. After typing R35, I run install.packages('tidyverse') and get the folloing error:
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
namespace ‘vctrs’ 0.3.6 is being loaded, but >= 0.3.7 is required
ERROR: lazy loading failed for package ‘tidyr’
* removing ‘/ua/jwlorge/R/x86_64-pc-linux-gnu-library/3.5/tidyr’
ERROR: dependency ‘dtplyr’ is not available for package ‘tidyverse’
* removing ‘/ua/jwlorge/R/x86_64-pc-linux-gnu-library/3.5/tidyverse’
The downloaded source packages are in
‘/tmp/RtmpAHxP3R/downloaded_packages’
Warning messages:
1: In install.packages("tidyverse") :
installation of package ‘vctrs’ had non-zero exit status
2: In install.packages("tidyverse") :
installation of package ‘ellipsis’ had non-zero exit status
3: In install.packages("tidyverse") :
installation of package ‘hms’ had non-zero exit status
4: In install.packages("tidyverse") :
installation of package ‘pillar’ had non-zero exit status
5: In install.packages("tidyverse") :
installation of package ‘tibble’ had non-zero exit status
6: In install.packages("tidyverse") :
installation of package ‘dplyr’ had non-zero exit status
7: In install.packages("tidyverse") :
installation of package ‘dbplyr’ had non-zero exit status
8: In install.packages("tidyverse") :
installation of package ‘dtplyr’ had non-zero exit status
9: In install.packages("tidyverse") :
installation of package ‘tidyr’ had non-zero exit status
10: In install.packages("tidyverse") :
installation of package ‘tidyverse’ had non-zero exit status
I searched online and found other people who had this problem but none of the suggestions worked. I tried updating vctrs and rlang. This is the error I get when I try to re-install vctrs:
Error : .onLoad failed in loadNamespace() for 'rlang', details:
call: NULL
error: 'is_character' is not an exported object from 'namespace:rlang'
ERROR: lazy loading failed for package ‘vctrs’
* removing ‘/ua/jwlorge/R/x86_64-pc-linux-gnu-library/3.5/vctrs’
Re-installing rlang was successful but didn't solve the problem. I also found online that re-starting R solves the problem, but I am using linux and I am a bit new to it. I don't know how you would restart R35 in linux.
I have tidyverse succesfully installed in in another version but not in 3.5. Does anyone have an idea what is causing this issue? Thanks!