I am having the same issue, but it seems like no one is interested in answering this question here...
Unable to access MRAN: is there currently any problem on your server?
Loïc
21
Reputation points
Hello,
I tried to install a package today from MRAN but it failed. Here is the error message:
Warning in install.packages :
unable to access index for repository https://mran.microsoft.com/snapshot/2020-07-16/src/contrib:
cannot open URL 'https://mran.microsoft.com/snapshot/2020-07-16/src/contrib/PACKAGES'
Do you currently encounter a problem on your server?
Thanks in advance for your answer.
Best regards,
Loïc
2 answers
Sort by: Most helpful
-
-
CF Lui 5 Reputation points
2023-06-09T15:07:56.02+00:00 Try this.
local({r <- getOption("repos") r["CRAN"] <- "http://cran.r-project.org" options(repos=r)})