GitHub user HyukjinKwon reopened a pull request:

    [MINOR][R][BUILD] More reliable detection of R version for Windows in 

    ## What changes were proposed in this pull request?
    This PR proposes to use instead 
of to check R's version for Windows 
    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.
    - `` returns the latest as 3.3.2 and 
the download link for 3.3.1 becomes `windows/base/old` by our script
    - 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 and builds were broken
    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 After 3.3.2, both  
`r-release-win` and `r-release` are being updated together.
    ## How was this patch tested?
    AppVeyor tests.

You can merge this pull request into a Git repository by running:

    $ git pull 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
commit 655a8ed3ae78e38362a4d7528436437dc5ea9ccd
Author: hyukjinkwon <>
Date:   2017-08-06T10:55:02Z

    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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to