Skip to content
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

ci: track linter warnings in MacOS/Ubuntu runners #38

Open
IshikaKhandelwal opened this issue Nov 26, 2024 · 0 comments
Open

ci: track linter warnings in MacOS/Ubuntu runners #38

IshikaKhandelwal opened this issue Nov 26, 2024 · 0 comments

Comments

@IshikaKhandelwal
Copy link
Collaborator

We're observing specific linter warnings during GitHub Actions on MacOS/Ubuntu runners that do not occur locally or on Windows runners. These warnings include:

[object_usage_linter] no visible global function definition for '%>%'.
[object_usage_linter] no visible binding for global variable 'values'.

Steps Taken:

Used `usethis::use_import_from()` for explicit imports.
Added global variable definitions using `utils::globalVariables().`
Verified local linter functionality by introducing intentional issues and observing results.

Locally, after applying the above fixes, no warnings are reported using lintr::lint_package()/ lintr::lint_dir(). However, these warnings persist in CI. These warnings don’t seem to affect functionality, but tracking them ensures they are revisited if necessary.

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

No branches or pull requests

1 participant