You should run this in your console and install this package before rerunning install.packages("tidyverse")
install.packages("tidyverse")