On Thu 23 Jan 2020 at 14:09, Shreyas Ragavan via ESS-help 
<ess-help@r-project.org> wrote:

> Dear All,
>
> I would be grateful for advice on 2 questions.
>
> 2. How can I enable flymake in ESS?
>
> Going through the documentation, I set the following and did not
> receive an error, but there is no indication of flymake working, and I
> think I have the syntax wrong. For example, I am able to create a
> variable name starting with a number and there is no error indication.
> So in my modeline - I can see flymake:!.
>
> (setq ess-use-flymake '("lintr::default_linters()"))
>
> (setq ess-use-flymake "lintr::default_linters()")
>
> Here are the 2 errors in the flymake logfile :
>
> Warning [flymake stock_analysis_completed.R]: Disabling backend 
> flymake-proc-legacy-flymake because (error Can’t find a suitable init 
> function)
> Error [ess-r-flymake  *ess-r-flymake*]: ‘lintr‘ package not installed

You need to install the lintr package.

Hope that helps,
Alex

______________________________________________
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Reply via email to