Skip to content

ARROW-17717: [R] Lintr error on CI - #14113

Merged
thisisnic merged 1 commit into
apache:masterfrom
thisisnic:ARROW-11717_linter
Sep 14, 2022
Merged

thisisnic merged 1 commit into
apache:masterfrom
thisisnic:ARROW-11717_linter

Conversation

@thisisnic

Copy link
Copy Markdown
Member

The new release of lintr has a new feature - giving a warning when code is commented out - which is causing the lintr-containing CI job to fail. We could have pinned to a previous version of lintr, but that seem like a useful feature & the lines of code which trigger it seem like reasonable exceptions, so I've just added a #nolint flag on each of them.

@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

⚠️ Ticket has not been started in JIRA, please click 'Start Progress'.

@AlenkaF AlenkaF left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, I agree with the approach. There are 3 test_duckdb.R CI failures that do not look related to the PR but am not sure?

@pitrou
pitrou requested a review from paleolimbot September 14, 2022 07:38
@thisisnic

Copy link
Copy Markdown
Member Author

DuckDB failure will be unrelated to these changes. Wouldn't usually merge with a pending review but given this is such a trivial change and already has one approval, I'll merge this now so that people working on other PRs can rebase and not have failing CI.

@ursabot

ursabot commented Sep 14, 2022

Copy link
Copy Markdown

Benchmark runs are scheduled for baseline = 3338d99 and contender = 8ec29ce. 8ec29ce is a master commit associated with this PR. Results will be available as each benchmark for each run completes.
Conbench compare runs links:
[Finished ⬇️0.0% ⬆️0.0%] ec2-t3-xlarge-us-east-2
[Failed ⬇️0.44% ⬆️0.0%] test-mac-arm
[Failed ⬇️0.0% ⬆️0.0%] ursa-i9-9960x
[Finished ⬇️0.39% ⬆️0.0%] ursa-thinkcentre-m75q
Buildkite builds:
[Finished] 8ec29ce4 ec2-t3-xlarge-us-east-2
[Finished] 8ec29ce4 test-mac-arm
[Failed] 8ec29ce4 ursa-i9-9960x
[Finished] 8ec29ce4 ursa-thinkcentre-m75q
[Finished] 3338d998 ec2-t3-xlarge-us-east-2
[Failed] 3338d998 test-mac-arm
[Failed] 3338d998 ursa-i9-9960x
[Finished] 3338d998 ursa-thinkcentre-m75q
Supported benchmarks:
ec2-t3-xlarge-us-east-2: Supported benchmark langs: Python, R. Runs only benchmarks with cloud = True
test-mac-arm: Supported benchmark langs: C++, Python, R
ursa-i9-9960x: Supported benchmark langs: Python, R, JavaScript
ursa-thinkcentre-m75q: Supported benchmark langs: C++, Java

zagto pushed a commit to zagto/arrow that referenced this pull request Oct 7, 2022
The new release of lintr has a new feature - giving a warning when code is commented out - which is causing the lintr-containing CI job to fail.  We could have pinned to a previous version of lintr, but that seem like a useful feature & the lines of code which trigger it seem like reasonable exceptions, so I've just added a #nolint flag on each of them.

Authored-by: Nic Crane <[email protected]>
Signed-off-by: Nic Crane <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants