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

LSP diagnostics always show error at beginning of script #36

Open
alyenkin opened this issue Feb 7, 2023 · 0 comments
Open

LSP diagnostics always show error at beginning of script #36

alyenkin opened this issue Feb 7, 2023 · 0 comments

Comments

@alyenkin
Copy link

alyenkin commented Feb 7, 2023

When I have any error/warning/style suggestion, instead of showing the errors where they are, I get an error in the very first line that says "Failed to run diagnostics: callr subprocess failed: unused argument (text = ....)" where ... is a character vector of the whole script.

image

This does not appear when there are no errors/warnings/style suggestions (as confirmed by running lintr).

This goes away if I turn off r.lsp.diagnostics but I would like to have this working

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