-
Notifications
You must be signed in to change notification settings - Fork 29k
[MINOR][R] Fix R lint failure #20879
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
cc @felixcheung and @shaneknapp |
|
Test build #88519 has finished for PR 20879 at commit
|
|
i've had to punt on figuring out how to get spark to reliably build across branches on the ubuntu workers... mostly because i haven't been able to successfully get the proper versions of various R packages installed that mirror what's on the old and barely touched centos workers. |
|
other than that, this PR LGTM++ |
|
thanks! those are on me then. |
|
Yup, we are running old lint in PR builders and those are on the newer one. |
## 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.
```
Author: hyukjinkwon <[email protected]>
Closes #20879 from HyukjinKwon/minor-r-lint.
(cherry picked from commit 92e9525)
Signed-off-by: hyukjinkwon <[email protected]>
|
Merged to master and branch-2.3. Thanks for reviewing this @shaneknapp and @felixcheung. |
## 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.
```
Author: hyukjinkwon <[email protected]>
Closes apache#20879 from HyukjinKwon/minor-r-lint.
(cherry picked from commit 92e9525)
Signed-off-by: hyukjinkwon <[email protected]>
What changes were proposed in this pull request?
The lint failure bugged me:
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: