Skip to content

Commit e29ec42

Browse files
committed
[SPARK-32074][BUILD][R] Update AppVeyor R version to 4.0.2
### What changes were proposed in this pull request? R version 4.0.2 was released, see https://cran.r-project.org/doc/manuals/r-release/NEWS.html. This PR targets to upgrade R version in AppVeyor CI environment. ### Why are the changes needed? To test the latest R versions before the release, and see if there are any regressions. ### Does this PR introduce any user-facing change? No. ### How was this patch tested? AppVeyor will test. Closes apache#28909 from HyukjinKwon/SPARK-32074. Authored-by: HyukjinKwon <[email protected]> Signed-off-by: HyukjinKwon <[email protected]>
1 parent 9f540fa commit e29ec42

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

R/install-dev.bat

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,13 @@ set SPARK_HOME=%~dp0..
2424

2525
MKDIR %SPARK_HOME%\R\lib
2626

27-
R.exe CMD INSTALL --library="%SPARK_HOME%\R\lib" %SPARK_HOME%\R\pkg\
27+
rem When you pass the package path directly as an argument to R CMD INSTALL,
28+
rem it takes the path as 'C:\projects\spark\R\..\R\pkg"' as an example at
29+
rem R 4.0. To work around this, directly go to the directoy and install it.
30+
rem See also SPARK-32074
31+
pushd %SPARK_HOME%\R\pkg\
32+
R.exe CMD INSTALL --library="%SPARK_HOME%\R\lib" .
33+
popd
2834

2935
rem Zip the SparkR package so that it can be distributed to worker nodes on YARN
3036
pushd %SPARK_HOME%\R\lib

dev/appveyor-install-dependencies.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ $env:Path += ";$env:HADOOP_HOME\bin"
115115
Pop-Location
116116

117117
# ========================== R
118-
$rVer = "3.6.2"
119-
$rToolsVer = "4.0.0"
118+
$rVer = "4.0.2"
119+
$rToolsVer = "4.0.2"
120120

121121
InstallR
122122
InstallRtools

0 commit comments

Comments
 (0)