GitHub user HyukjinKwon opened a pull request:
[MINOR][R][BUILD] More reliable detection of R version for Windows
## What changes were proposed in this pull request?
We met a syncing problem with Windows release (see #15709) before. To cut
this short, it was ...
- 3.3.2 release was released but not for Windows for few hours.
- `https://rversions.r-pkg.org/r-release` returns the latest as 3.3.2 and
the download link for 3.3.1 becomes `windows/base/old`
- 3.3.2 release for WIndows yet
- 3.3.1 is still not in `windows/base/old` but `windows/base` as the latest
- Failed to download with `windows/base/old` link.
I believe this problem is not only what we met. Please see
and also this `r-release-win` API came out between 3.3.1 and 3.3.2 (assuming
to deal with this issue), please see
Using this API will prevent the problem although it looks quite rare
assuming from the commit logs in
https://github.com/metacran/rversions.app/commits/master. After 3.3.2, both
`r-release-win` and `r-release` are being updated together.
## How was this patch tested?
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/HyukjinKwon/spark use-reliable-link
Alternatively you can review and apply these changes as the patch at:
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #18859
Author: hyukjinkwon <gurwls...@gmail.com>
More reliable detection of R version for Windows
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org