Open solmos opened 1 year ago
I was having same problem as you, without the middle part of In addition: Warning messages:
Try checking the syntax of your .lintr
file. Flycheck is very special for the syntax. For example in my case I was trying something like this
(setq tt/lintr-linters
"linters_with_defaults(
line_length_linter = line_length_linter(120)
)"
)
(setq flycheck-lintr-linters tt/lintr-linters))
Something that with Flymake kind of makes sense and works. But Flycheck keeps sending me the same error as you got. So changed it for (setq flycheck-lintr-linters "linters_with_defaults(line_length_linter = line_length_linter(120))"))
and now Flycheck is working.
For the mainteiners, is there a reason why, when I set a variable with spaces flycheck does not recognize it? Flymake had no problems recognizing it.
Bug description
I get the following error anytime I am typing inside the argument parentheses in a function definition in an R script:
Steps to reproduce
Steps to reproduce the behavior:
Open file
test.R
Type:
Screenshots
System configuration
Emacs configuration: Doom Emacs