stdlib
stdlib copied to clipboard
[Bug]: lintr configuration needs to be updated due to breaking changes
Description
Encountered an error when attempting to lint R files after installing the latest lintr package (3.x).
The lintr configuration in https://github.com/stdlib-js/stdlib/blob/232d92dcd2f07187ab1973d88e25cf5354a97633/tools/lint/r/linter.R#L42 needs to be updated to accommodate breaking changes, such as deprecated rules, etc.
Should also consider pinning package versions in https://github.com/stdlib-js/stdlib/blob/232d92dcd2f07187ab1973d88e25cf5354a97633/etc/r/requirements.txt.
cc @steff456
Related Issues
(None)
Questions
No.
Demo
No response
Reproduction
- Install R packages as specified in `/etc/r`. These packages are unversioned. The latest version of `lintr` should be installed.
- Attempt to lint an R file.
Expected Results
The command should work.
Actual Results
The command does not work, due to broken configuation.
Version
No response
Environments
Node.js
Browser Version
No response
Node.js / npm Version
No response
Platform
No response
Checklist
- [X] Read and understood the Code of Conduct.
- [X] Searched for existing issues and pull requests.