Trouble installing tidyverse....

Hello! I'm just starting to use R Studio so I'm not very familiar. I've been trying to download the package tidyverse for hours, but I can't seem to find a way. It tells me in red that: The downloaded source packages are in

but when I run library(tidyverse) it says: Error in library(tidyverse) : there is no package called ‘tidyverse’

Also, it tells me this for all of the packages when I try to download tidyverse: Warning in install.packages :
installation of package ‘rvest’ had non-zero exit status
ERROR: dependencies ‘knitr’, ‘stringr’ are not available for package ‘rmarkdown’

  • removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/rmarkdown’

You may need to install those packages step by step.


  • stringr
  • knitr
  • rvest
  • rmarkdown

then tidyverse again.

It seems there is some corruptions in some packages installed. You may need to remove those.