Problem installing palmerpenguins package

New R user here.
I am unable to install packages again after successfully installing tidyverse, skmr and here. I am trying to install palmerpenguines and janitor but i get this error message

Warning in install.packages :
unable to access index for repository http://cran.rstudio.com/src/contrib:
cannot open URL 'http://cran.rstudio.com/src/contrib/PACKAGES'

PLEASE WHAT DO I DO. ITS GETTING FRUSTRATING

The RStudio mirror of the CRAN repo is usually pretty reliable, and reachable by network as I write. It might have been down temporarily (Saturday night is common for maintenance outages everywhere). Try again, and if there’s still difficulty, we can help you change the repo.

This seems like a connectivity issue, R is not being able to connect to the CRAN repository you have selected, these are some things to try.

  • Choose a different CRAN repository, RStudios repository is a good choice (http://cran.rstudio.com/) or you could choose one that is geographically closer to you.
  • Disable secure download setting.
  • Check if your internet connection has traffic restrictions of some kind, like a firewall, proxy server, etc. This is usually the case when you are at work or school.