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
‘/private/var/folders/2_/2489j8fd7tnb_1d9tmkrspdc0000gn/T/RtmpXyjlJC/downloaded_packages’

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.

Try

  • stringr
  • knitr
  • rvest
  • rmarkdown

then tidyverse again.

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