GitHub user HyukjinKwon opened a pull request:
https://github.com/apache/spark/pull/20879
[MINOR][R] Fix R lint failure
## What changes were proposed in this pull request?
The lint failure bugged me:
```R
R/SQLContext.R:715:97: style: Trailing whitespace is superfluous.
#' file-based streaming data source. \code{timeZone} to indicate a
timezone to be used to
^
tests/fulltests/test_streaming.R:239:45: style: Commas should always have a
space after.
expect_equal(times[order(times$eventTime),][1, 2], 2)
^
lintr checks failed.
```
and I actually saw
https://amplab.cs.berkeley.edu/jenkins/job/spark-master-test-sbt-hadoop-2.6-ubuntu-test/500/console
too. If I understood correctly, there is a try about moving to Unbuntu one.
## How was this patch tested?
Manually tested by `./dev/lint-r`:
```
...
lintr checks passed.
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/HyukjinKwon/spark minor-r-lint
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20879.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 #20879
----
commit bdd024b4e73c5d8814df43064a770a06c318cd07
Author: hyukjinkwon <gurwls223@...>
Date: 2018-03-22T11:47:04Z
Fix R lint failure
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]