Skip to content

Commit 90b6cda

Browse files
committed
[SPARK-25944][R][BUILD] AppVeyor change to latest R version (3.6.0)
## What changes were proposed in this pull request? R 3.6.0 is released 2019-04-26. This PR targets to change R version from 3.5.1 to 3.6.0 in AppVeyor. This PR sets `R_REMOTES_NO_ERRORS_FROM_WARNINGS` to `true` to avoid the warnings below: ``` Error in strptime(xx, f, tz = tz) : (converted from warning) unable to identify current timezone 'C': please set environment variable 'TZ' Error in i.p(...) : (converted from warning) installation of package 'praise' had non-zero exit status Calls: <Anonymous> ... with_rprofile_user -> with_envvar -> force -> force -> i.p Execution halted ``` ## How was this patch tested? AppVeyor Closes apache#24716 from HyukjinKwon/SPARK-27848. Authored-by: HyukjinKwon <[email protected]> Signed-off-by: HyukjinKwon <[email protected]>
1 parent 35952cb commit 90b6cda

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

appveyor.yml

+4
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ build_script:
5252

5353
environment:
5454
NOT_CRAN: true
55+
# See SPARK-27848. Currently installing some dependent packagess causes
56+
# "(converted from warning) unable to identify current timezone 'C':" for an unknown reason.
57+
# This environment variable works around to test SparkR against a higher version.
58+
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
5559

5660
test_script:
5761
- cmd: .\bin\spark-submit2.cmd --driver-java-options "-Dlog4j.configuration=file:///%CD:\=/%/R/log4j.properties" --conf spark.hadoop.fs.defaultFS="file:///" R\pkg\tests\run-all.R

dev/appveyor-install-dependencies.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ $env:Path += ";$env:HADOOP_HOME\bin"
115115
Pop-Location
116116

117117
# ========================== R
118-
$rVer = "3.5.1"
118+
$rVer = "3.6.0"
119119
$rToolsVer = "3.5.1"
120120

121121
InstallR

0 commit comments

Comments
 (0)