I haven't run into this problem of installing packages before but I haven't been able to load new packages today. I've tried installing tidyverse, rvest, and reprex but keep hitting the same problem.
This is what I keep seeing:
install.packages("reprex")
also installing the dependencies ‘processx’, ‘callr’, ‘fs’
There are binary versions available but the source versions are later:
binary source needs_compilation
processx 3.3.0 3.4.1 TRUE
callr 3.1.1 3.4.1 FALSE
fs 1.2.6 1.3.1 TRUE
reprex 0.2.1 0.3.0 FALSE
Do you want to install from sources the packages which need compilation? (Yes/no/cancel)
installing the source packages ‘processx’, ‘callr’, ‘fs’, ‘reprex’
After saying yes, a ton of code is produced that says things like "trying URL ...", "Warning in install.packages" and "ERROR: dependencies not available for package"
Finally the code will stop at:
The downloaded source packages are in
‘/private/var/folders/8f/w16hx3vs34g31xv43znwt7p00000gn/T/RtmpXLSGto/downloaded_packages’
However, when I run the library command, it will say that there is no such package loaded.
I initially saw that the error could be due to using an outdated version of R but I'm currently using version 3.5.3 and don't think that's the problem.
Any insight as to why these issues are occurring would be super appreciated!! Thanks!