[ESS] flymake + lintr

Vitalie Spinu @p|nuv|t @end|ng |rom gm@||@com
Fri Oct 26 12:27:17 CEST 2018

Most of the linters are disabled by default because they are controversial,
buggy or interfere with how emacs users normally do things. See
ess-r-flymake-linters for how to change that.

I think project local lintr configuration should be taking effect with new
version of lintr, but I am not sure. Alex knows more about that.


>> On Thu, Oct 25 2018 12:24, Kevin Wright via ESS-help wrote:

> I'm not seeing any effects from flymake.  I see "Flymake" in the modeline
> and I can click on Flymake, then Check now. Nothing seems to happen.

> I set ess-r-flymake-linters to be the string "lintr::default_linters".

> My setup is fairly current:

> Emacs 27.0.50
> lintr        * 2018-10-25 Github (jimhester/lintr using 4ade1fc)
> ESS 18.10-1
> I CAN use lint() in an R session:

> R> lint("a=1+1\n")
> <text>:1:2: style: Use <-, not =, for assignment.
> a=1+1
>  ^
> <text>:1:2: style: Put spaces around all infix operators.
> a=1+1
> ~^~
> <text>:1:4: style: Put spaces around all infix operators.
> a=1+1
>   ~^~
> Anybody have ideas for diagnosing what the problem is?

> Kevin Wright

More information about the ESS-help mailing list