HyukjinKwon commented on a change in pull request #27472:
[SPARK-30737][SPARK-27262][R][BUILD] Reenable CRAN check with UTF-8 encoding to
DESCRIPTION
URL: https://github.com/apache/spark/pull/27472#discussion_r375620896
##########
File path: R/pkg/tests/fulltests/test_sparkSQL.R
##########
@@ -496,12 +496,7 @@ test_that("SPARK-17811: can create DataFrame containing
NA as date and time", {
expect_true(is.na(DF$date[2]))
expect_equal(DF$date[1], as.Date("2016-10-01"))
expect_true(is.na(DF$time[2]))
- # Warnings were suppressed due to Jenkins environment issues.
- # It shows both warnings as below in Jenkins:
- # - Your system is mis-configured: /etc/localtime is not a symlink
- # - It is strongly recommended to set environment variable TZ to
- # America/Los_Angeles (or equivalent)
- suppressWarnings(expect_equal(DF$time[1], as.POSIXlt("2016-01-10")))
+ expect_equal(DF$time[1], as.POSIXlt("2016-01-10"))
Review comment:
This PR piggybacks one fix here. It's just rather a nit fix to don't
suppress warnings anymore introduced from #27460 to make tests pass.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]