GitHub user HyukjinKwon opened a pull request:

    https://github.com/apache/spark/pull/15709

    [SPARK-18190][Build][SparkR] Fix R version to not the latest in AppVeyor

    ## What changes were proposed in this pull request?
    
    Currently, Spark supports the test on Windows via AppVeyor but not it seems 
failing to download R 3.3.1 after R 3.3.2 is released. It downloads given R 
version after checking if that is the latest or not via 
http://rversions.r-pkg.org/r-release because the URL.
    
    For example, the latest one has the URL as below:
    
    https://cran.r-project.org/bin/windows/base/R-3.3.1-win.exe
    
    and the old one has the URL as below.
    
    https://cran.r-project.org/bin/windows/base/old/3.3.0/R-3.3.0-win.exe
    
    The problem is, it seems (according to my observation, please check the 
main page[1])  the versions of R on Windows are not always synced with the 
latest versions.
    
    So, it seems currently we can't download R 3.3.1 from the old repository[2] 
. So, currently, AppVeyor tries to find R 3.3.1 in the old repository[2] as 
3.3.2 is released but it does not exist because it seems R 3.3.2 for Windows is 
not there.
    
    
    Therefore, this PR proposes to lower the R version into 3.3.0 rather than 
rely on the latest as  SparkR supports R 3.1+ if I recall correctly.
    
    [1]https://cloud.r-project.org
    [2]https://cran.r-project.org/bin/windows/base/old
    
    
    ## How was this patch tested?
    
    Manually via AppVeyor CI.


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

    $ git pull https://github.com/HyukjinKwon/spark SPARK-18190

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/15709.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #15709
    
----
commit 90fe001145da62391c5a2a9efbdebc201e621e95
Author: hyukjinkwon <gurwls...@gmail.com>
Date:   2016-11-01T02:37:45Z

    Fix R version to 3.3.0

----


---
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
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to