Unable to access MRAN: is there currently any problem on your server?

Loïc 21 Reputation points
2021-09-08T12:37:14.047+00:00

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

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,675 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Clark Choi 11 Reputation points
    2021-12-08T22:42:39.143+00:00

    I am having the same issue, but it seems like no one is interested in answering this question here...

    2 people found this answer helpful.

  2. 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)})
    
    1 person found this answer helpful.