coc-r-lsp icon indicating copy to clipboard operation
coc-r-lsp copied to clipboard

LSP diagnostics always show error at beginning of script

Open alyenkin opened this issue 1 year ago • 0 comments

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

alyenkin avatar Feb 07 '23 00:02 alyenkin