Skip to content

Conversation

@HyukjinKwon
Copy link
Member

What changes were proposed in this pull request?

The lint failure bugged me:

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.

@HyukjinKwon
Copy link
Member Author

cc @felixcheung and @shaneknapp

@SparkQA
Copy link

SparkQA commented Mar 22, 2018

Test build #88519 has finished for PR 20879 at commit bdd024b.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@shaneknapp
Copy link
Contributor

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.

@shaneknapp
Copy link
Contributor

shaneknapp commented Mar 22, 2018

other than that, this PR LGTM++

@felixcheung
Copy link
Member

thanks! those are on me then.
are we not running lintr? or these checks are on the newer version only?

@HyukjinKwon
Copy link
Member Author

Yup, we are running old lint in PR builders and those are on the newer one.

asfgit pushed a commit that referenced this pull request Mar 23, 2018
## 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]>
@HyukjinKwon
Copy link
Member Author

Merged to master and branch-2.3.

Thanks for reviewing this @shaneknapp and @felixcheung.

@asfgit asfgit closed this in 92e9525 Mar 23, 2018
peter-toth pushed a commit to peter-toth/spark that referenced this pull request Oct 6, 2018
## 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]>
@HyukjinKwon HyukjinKwon deleted the minor-r-lint branch October 16, 2018 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants