Skip to content

[Bug]: lintr configuration needs to be updated due to breaking changes #500

@kgryte

Description

@kgryte

Description

Encountered an error when attempting to lint R files after installing the latest lintr package (3.x).

The lintr configuration in

linters <- lintr::with_defaults( default = list(),
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

  • Read and understood the Code of Conduct.
  • Searched for existing issues and pull requests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working.ToolsIssue or pull request related to project tooling.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions