none
Cannot install any packages from MRAN RRS feed

  • Question

  • Hi.

    I'm using microsoft R OPEN 3.5.3 with 64 bit Windows 10 machine.

    Nowadays, I suddenly  became not able to install any packages.

    The Errors appeared are below.

     > install.packages("stars")
    Warning in install.packages :
      unable to access index for repository https://mran.microsoft.com/snapshot/2019-04-15/src/contrib:
      cannot open URL 'https://mran.microsoft.com/snapshot/2019-04-15/src/contrib/PACKAGES'
    Installing package into ‘C:/Users/okamoto/Documents/R/win-library/3.5’
    (as ‘lib’ is unspecified)
    Warning in install.packages :
      unable to access index for repository https://mran.microsoft.com/snapshot/2019-04-15/src/contrib:
      cannot open URL 'https://mran.microsoft.com/snapshot/2019-04-15/src/contrib/PACKAGES'
    Warning in install.packages :
      package ‘stars’ is not available (for R version 3.5.3)
    Warning in install.packages :
      unable to access index for repository https://mran.microsoft.com/snapshot/2019-04-15/bin/windows/contrib/3.5:
      cannot open URL 'https://mran.microsoft.com/snapshot/2019-04-15/bin/windows/contrib/3.5/PACKAGES'

    When I tried `install.packages('stars', dependencies=TRUE, repos="https://cran.rstudio.com")`, 

    I can install the package from CRAN, not MRAN and it might be bad.

    I think there may be some problems inside MRAN.

    Best.

    Wednesday, September 4, 2019 12:39 AM

All replies

  • I am also in a similar situatation. I started having issues today, at work and also at home. Similar issues.
    Wednesday, September 4, 2019 1:18 AM
  • The same problem. Q.Q
    Wednesday, September 4, 2019 3:49 AM
  • Same here, on 3 different machines with different MRO 3.5.3 and 3.3.2
    Wednesday, September 4, 2019 8:29 AM
  • same issue! Why?
    Wednesday, September 4, 2019 8:35 AM
  • On my older machine with MRO 3.3.2 I get this error

    Warning in install.packages :
      cannot open URL 'https://mran.revolutionanalytics.com/snapshot/2016-11-01/src/contrib/PACKAGES.gz': HTTP status was '502 Bad Gateway'
    Warning in install.packages :
      cannot open URL 'https://mran.revolutionanalytics.com/snapshot/2016-11-01/src/contrib/PACKAGES': HTTP status was '502 Bad Gateway'
    Warning in install.packages :
      unable to access index for repository https://mran.revolutionanalytics.com/snapshot/2016-11-01/src/contrib:
      cannot open URL 'https://mran.revolutionanalytics.com/snapshot/2016-11-01/src/contrib/PACKAGES'
    Installing package into ‘C:/Users/psandul/Documents/R/win-library/3.3’
    (as ‘lib’ is unspecified)
    Warning in install.packages :
      cannot open URL 'https://mran.revolutionanalytics.com/snapshot/2016-11-01/src/contrib/PACKAGES.gz': HTTP status was '502 Bad Gateway'
    Warning in install.packages :
      cannot open URL 'https://mran.revolutionanalytics.com/snapshot/2016-11-01/src/contrib/PACKAGES': HTTP status was '502 Bad Gateway'
    Warning in install.packages :
      unable to access index for repository https://mran.revolutionanalytics.com/snapshot/2016-11-01/src/contrib:
      cannot open URL 'https://mran.revolutionanalytics.com/snapshot/2016-11-01/src/contrib/PACKAGES'
    Warning in install.packages :
      package ‘ggplot2’ is not available (for R version 3.3.2)
    Warning in install.packages :
      cannot open URL 'https://mran.revolutionanalytics.com/snapshot/2016-11-01/bin/windows/contrib/3.3/PACKAGES.gz': HTTP status was '502 Bad Gateway'
    Warning in install.packages :
      cannot open URL 'https://mran.revolutionanalytics.com/snapshot/2016-11-01/bin/windows/contrib/3.3/PACKAGES': HTTP status was '502 Bad Gateway'
    Warning in install.packages :
      unable to access index for repository https://mran.revolutionanalytics.com/snapshot/2016-11-01/bin/windows/contrib/3.3:
      cannot open URL 'https://mran.revolutionanalytics.com/snapshot/2016-11-01/bin/windows/contrib/3.3/PACKAGES'

    Notice the: HTTP status was '502 Bad Gateway'
    My best guess it's a problem on MS side

    Wednesday, September 4, 2019 8:47 AM
  • Same problem
    Wednesday, September 4, 2019 11:54 AM
  • Same problem. Ubuntu Server 18.04, Microsoft R Open 3.5.3

    Warning: unable to access index for repository https://mran.microsoft.com/snapshot/2019-04-15/src/contrib:
      Line starting 'The specified CGI ap ...' is malformed!

    Wednesday, September 4, 2019 2:32 PM
  • We are using checkpoint for package management. Getting similar errors.

    "Unable to reach MRAN root at http://mran.microsoft.com/snapshot/"

    Navigating to the URL with a browser returns the following message.

    "The specified CGI application encountered an error and the server terminated the process."

    Wednesday, September 4, 2019 4:43 PM
  • We are aware of the problem and are actively working on fixing the issue and hope to have things resolved soon.
    We apologize for the server downtime.

    Stephen Weller
    Microsoft R Product Team
    Wednesday, September 4, 2019 5:59 PM
  • Mine is working now. Thanks so much for your assistance! :-)
    Thursday, September 5, 2019 1:16 PM
  • I'm facing this issue now. anyone else?
    Sunday, February 16, 2020 2:22 PM
  • yip, on two machines
    Sunday, February 16, 2020 7:07 PM
  • Yes, same issue. 

    install.packages("repos")
    Warning in install.packages :
      unable to access index for repository https://mran.microsoft.com/snapshot/2019-04-15/src/contrib:
      cannot open URL 'https://mran.microsoft.com/snapshot/2019-04-15/src/contrib/PACKAGES'
    Installing package into ‘C:/Users/XXX/Documents/R/win-library/3.5’
    (as ‘lib’ is unspecified)
    Warning in install.packages :
      unable to access index for repository https://mran.microsoft.com/snapshot/2019-04-15/src/contrib:
      cannot open URL 'https://mran.microsoft.com/snapshot/2019-04-15/src/contrib/PACKAGES'
    Warning in install.packages :
      package ‘repos’ is not available (for R version 3.5.3)
    Warning in install.packages :
      unable to access index for repository https://mran.microsoft.com/snapshot/2019-04-15/bin/windows/contrib/3.5:
      cannot open URL 'https://mran.microsoft.com/snapshot/2019-04-15/bin/windows/contrib/3.5/PACKAGES'

    Monday, February 17, 2020 1:54 AM
  • The security certificate appears to have expired!

    When accessing mran.revolutionanalytics.com/timemachine, Firefox reports;

    Websites prove their identity via certificates, which are valid for a set time period. The certificate for cran.microsoft.com expired on 2/16/2020.
     
    Error code: SEC_ERROR_EXPIRED_CERTIFICATE

    Oh dear....

    Monday, February 17, 2020 12:04 PM
  • me too
    Monday, February 17, 2020 2:35 PM
  • I see the same certificate issue on https://cran.microsoft.com/snapshot/2019-04-15

    Monday, February 17, 2020 2:36 PM
  • Happened again on 2/27/2020.  Waited a couple hours and then it worked.  below is the error message:

    > install.packages("sqldf")
    Installing package into ‘C:/Users/VROSS/Documents/R/win-library/3.5’
    (as ‘lib’ is unspecified)
    Warning: unable to access index for repository https://mran.microsoft.com/snapshot/2019-04-15/src/contrib:
      cannot open URL 'https://mran.microsoft.com/snapshot/2019-04-15/src/contrib/PACKAGES'
    Warning: unable to access index for repository https://mran.microsoft.com/snapshot/2019-04-15/bin/windows/contrib/3.5:
      cannot open URL 'https://mran.microsoft.com/snapshot/2019-04-15/bin/windows/contrib/3.5/PACKAGES'
    Warning message:
    package ‘sqldf’ is not available (for R version 3.5.3)

    and then the positive result a couple hours later.

    > install.packages("sqldf")
    Installing package into ‘C:/Users/VROSS/Documents/R/win-library/3.5’
    (as ‘lib’ is unspecified)
    also installing the dependencies ‘bit’, ‘bit64’, ‘blob’, ‘memoise’, ‘gsubfn’, ‘proto’, ‘RSQLite’, ‘chron’

    trying URL 'https://mran.microsoft.com/snapshot/2019-04-15/bin/windows/contrib/3.5/bit_1.1-14.zip'
    Content type 'application/zip' length 246246 bytes (240 KB)
    downloaded 240 KB

    etc...

    .

    .

    package ‘sqldf’ successfully unpacked and MD5 sums checked

    Thursday, February 27, 2020 7:58 PM