Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running R installer: The file or directory is corrupted and unreadable. #112

Open
Marlin-Na opened this issue Mar 11, 2018 · 6 comments
Open

Comments

@Marlin-Na
Copy link

I have the following output:

Running Install scripts
Bootstrap
== 03/11/2018 12:15:41: Bootstrap: Start
== 03/11/2018 12:15:41: Adding GnuWin32 tools to PATH
== 03/11/2018 12:15:41: Setting time zone
UTC
GMT Standard Time
== 03/11/2018 12:15:41: Version: patched
== 03/11/2018 12:15:42: URL path: 
== 03/11/2018 12:15:42: Downloading R from: https://cloud.r-project.org/bin/windows/base/R-3.4.3patched-win.exe
== 03/11/2018 12:15:42: Running R installer
This command cannot be run due to the error: The file or directory is corrupted and unreadable.
7z a failure.zip *.Rcheck\*

It seems that currently https://cloud.r-project.org/bin/windows/base/R-3.4.3patched-win.exe returns 404. Should it be changed to https://cloud.r-project.org/bin/windows/base/R-3.4.3-win.exe ?

@robinvanemden
Copy link

robinvanemden commented Mar 11, 2018

I encountered the same problem. Apparently, the R_VERSION environment variable is set to "patched" by default.

Setting R_VERSION to "release" in your appveyor.yml file seems to resolve the issue for now, though:

environment:
  R_VERSION: release

@ajdamico
Copy link

hi, if it's any clue, my travis-ci builds have suddenly all reverted to R version 3.4.2 ..so i'd bet this is related to the 3.4.4 release this week, and might resolve itself :)

@jeroen
Copy link
Contributor

jeroen commented Mar 12, 2018

The r-patched branch automatically changes from R-3.4.3patched-win.exe to R-3.4.4rc-win.exe in the weeks leading up to the release. We should change the appveyor script to get the correct URL.

For now I have symlinked R-3.4.4rc-win.exe to R-3.4.3patched-win.exe so the scripts wil keep working.

@krlmlr
Copy link
Owner

krlmlr commented Mar 18, 2018

Thanks, Jeroen! I wonder if running "patched" by default is really such a good choice. But then "patched" still needs to work even if we explicitly set it...

@krlmlr
Copy link
Owner

krlmlr commented Mar 18, 2018

Seems we need to query if *patched-win.exe is available, and if not, look for *rc-win.exe for the next version.

@krlmlr
Copy link
Owner

krlmlr commented Jul 4, 2019

@jeroen: Do you still maintain that symlink from patched to rc?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants