Skip to content

Conversation

@MichaelChirico
Copy link
Member

@MichaelChirico MichaelChirico commented May 3, 2024

The default pattern for files to lint is pattern = "(?i)[.](r|rmd|qmd|rnw|rhtml|rrst|rtex|rtxt)$", i.e. not Rraw. We don't need the other extensions, so trim them also for simplicity.

See:

https://lintr.r-lib.org/reference/lint.html

Copy link
Member Author

MichaelChirico commented May 3, 2024

@MichaelChirico MichaelChirico changed the title lint-tests Run linters on tests.Rraw May 3, 2024
@MichaelChirico MichaelChirico changed the title Run linters on tests.Rraw Run linters on test scripts May 3, 2024
@tdhock
Copy link
Member

tdhock commented May 3, 2024

another option would be to change the Rraw to R as was discussed somewhere else?

@MichaelChirico
Copy link
Member Author

another option would be to change the Rraw to R as was discussed somewhere else?

yes! I had a TODO at some point but must have lost it. That issue won't be fixed for some time I believe, until we burn down most of the existing PR queue.

@MichaelChirico MichaelChirico marked this pull request as ready for review May 3, 2024 14:11
@tdhock
Copy link
Member

tdhock commented May 3, 2024

ok great

Copy link
Member Author

MichaelChirico commented May 4, 2024

Merge activity

@MichaelChirico MichaelChirico force-pushed the 05-02-lint-test-literal branch from 1d045f8 to ed0d93d Compare May 4, 2024 16:14
Base automatically changed from 05-02-lint-test-literal to master May 4, 2024 16:16
@MichaelChirico MichaelChirico merged commit ca815ba into master May 4, 2024
@MichaelChirico MichaelChirico deleted the 05-02-lint-tests branch May 4, 2024 16:23
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.

3 participants