Error while installing tidyverse package into the R studio

I had put up the following code

install.packages("tidyverse")

I am getting following error while installing tidyverse package in R studio -

Warning in install.packages :
write error in extracting from zip file
Warning in install.packages :
write error in extracting from zip file
Error in install.packages : subscript out of bounds

Try this. Turn windows firewall off if it is on, and run Rstudio as administrator. I hope this works.