How can I solve this problem "unable to access index for repository"

install.packages ("readxl", dependence = true)
Warning in install.packages :
unable to access index for repository
cannot open URL ''

can you click the link in your browser and get served the contents like any other website ?
if not, then your internet access is generally restricted ... are you behind a corporate or educational firewall etc?

if you can browser over to there, then in principle R should be able to also, so hope is alive; and you can search for things to try.

start here for example:
install.packages unable to access index for repository: Try disabling “secure download method for HTTP” - General - RStudio Community

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.