I am using this site for reference:
http://r4ds.had.co.nz/introduction.html
but I am unable to install the tidyverse package. Using dependencies = TRUE did not
The problem occurred because tidyverse has system dependencies (i.e., libcurl4-openssl-dev, libssl-dev, libxml2-dev). I wrote a blog post that explains the solution in more details.