Recently downloaded R Studio (today)
On MacOS, the version is 1.2.5019.
Simply put, my problem is that tidyverse won't install properly, and therefore won't load itself on my Mac.
My code is
install.packages("tidyverse")
library("tidyverse")
When I install I get messages like
install.packages("tidyverse")
Warning in install.packages :
dependency ‘knitr’ is not available
also installing the dependencies ‘farver’, ‘scales’, ‘rmarkdown’, ‘ggplot2’, ‘lubridate’, ‘reprex’
There are binary versions available but the source versions are later:
binary source needs_compilation
scales 0.4.0 1.1.0 TRUE
rmarkdown 1.0 1.17 FALSE
ggplot2 2.1.0 3.2.1 FALSE
lubridate 1.5.6 1.7.4 TRUE
Do you want to install from sources the packages which need compilation?
y/n: y
Package which is only available in source form, and may need compilation of
C/C++/Fortran: ‘farver’
Do you want to attempt to install these from sources?
y/n: y
So I say yes because well, not sure what it is I need so yes I'll take all of the packages R wants to give me.
But, it installs (or, tries to install) all this stuff but tidyverse as well as all the other packages (ggplot2, reprex, scales, lubridate) all say they have "non-zero exit status"
What does this mean and how do I install tidyverse properly so as to be able to load it.
When I try to load it, I get the error message:
> library(tidyverse)
Error in library(tidyverse) : there is no package called ‘tidyverse’