Skip to content

Conversation

@karawoo
Copy link
Collaborator

@karawoo karawoo commented Dec 19, 2025

Intent

Explicitly sets the pipe linter to "auto" instead of the new default "|>". Also removes the cyclocomp linter line; it's no longer necessary as it's not a lintr default anymore since 3.2.0.

Fixes #485

Approach

I chose to keep our existing magrittr pipe code instead of updating to the base pipe, mainly because we don't currently set a minimum R version in the DESCRIPTION. Using the base R pipe would require us to set the minimum to 4.1. This might be okay, and I don't feel too strongly either way, but this at least gets CI passing again.

Checklist

  • Does this change update NEWS.md (referencing the connected issue if necessary)?
  • Does this change need documentation? Have you run devtools::document()?

Copy link
Collaborator

@nealrichardson nealrichardson left a comment

Choose a reason for hiding this comment

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

Odd that the preview integration tests didn't fail before, but thanks for the clean fix!

@karawoo
Copy link
Collaborator Author

karawoo commented Dec 19, 2025

Odd that the preview integration tests didn't fail before, but thanks for the clean fix!

AFAICT from the logs on #484, the tests never actually ran on that PR. With the changes in posit-dev/with-connect#38 they run and fail. But fixed now.

@nealrichardson
Copy link
Collaborator

Odd that the preview integration tests didn't fail before, but thanks for the clean fix!

AFAICT from the logs on #484, the tests never actually ran on that PR. With the changes in posit-dev/with-connect#38 they run and fail. But fixed now.

🤦 ah right, that. Thanks again!

@karawoo karawoo changed the title Fix lintr in CI Fix CI Dec 19, 2025
@karawoo karawoo merged commit c05ab8f into main Dec 19, 2025
22 checks passed
@karawoo karawoo deleted the lintr-updates branch December 19, 2025 19:27
@toph-allen
Copy link
Contributor

Thanks @karawoo

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.

ci: linting fails since lintr 3.3.0 release

4 participants