Skip to content

explicit parse_settings = TRUE - #706

Merged
renkun-ken merged 1 commit into
REditorSupport:masterfrom
pascal-sauer:master
Feb 6, 2026
Merged

explicit parse_settings = TRUE#706
renkun-ken merged 1 commit into
REditorSupport:masterfrom
pascal-sauer:master

Conversation

@pascal-sauer

Copy link
Copy Markdown
Contributor

According to https://github.com/r-lib/lintr/releases with lintr 3.3.0-1:

lint() no longer picks up settings automatically in ad hoc invocations like lint("text\n") or lint(text = "str"). You should set parse_settings=TRUE to force settings to be read. Emacs ESS users may need to update to a recent version, e.g. ESS>20251003.

This means .lintr files are ignored for the linting vscode does in the background by default. Explicitly setting parse_settings = TRUE (as suggested in this PR) helps.

Comment thread R/diagnostics.R
@pascal-sauer

Copy link
Copy Markdown
Contributor Author

I'm unsure how the maintainers (I guess @renkun-ken @randy3k) want to proceed with this PR. Do you want me to bring this PR into a state so it can be merged, and what steps would that entail? Or would you rather implement a fix yourself (totally fine by me!)?

@eitsupi

eitsupi commented Dec 19, 2025

Copy link
Copy Markdown
Contributor

@ManuelHentschel Sorry for bothering you, but could you take a look at this?
Other members with commit access appear to be inactive.

@mcanouil

mcanouil commented Jan 29, 2026

Copy link
Copy Markdown

In the absence of updates, see a workaround in:

@renkun-ken renkun-ken left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM Thanks!

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.

7 participants