[ESS-bugs] ess-mode 18.10.2 [Released git: d4cd65da6dbf]; Error in process sentinel
Alex Branham
@|ex@br@nh@m @end|ng |rom gm@||@com
Wed Feb 13 15:38:21 CET 2019
On Tue 12 Feb 2019 at 15:45, Shawn Way <SWay using meco.com> wrote:
> I'm getting the following error:
>
> error in process sentinel: apply: Not enough arguments for format string
> error in process sentinel: Not enough arguments for format string
>
> from ess when formatting new R code such as below:
>
> data <-data.frame(x=c(2))
>
> data <- data %>%
> mutate(y=x^2)
>
>
> This occurs any time that I have the %>% operator in the code. The
> confusing part is that when I edit older code, I don't have the issue.
>
> Another thing that is different is that when editing the new code, the
> mode line is similar to
>
> NEW.R All (ESS[R] [none] Flymake:Wait[0 0])
>
> and the Wait never changes.
>
> When I edit the older code, the Wait disappears after each edit and
> reappears after a second afterwards.
This happens because the R package lintr updated their version without
including the features slated for the next version.[1] You can fix it in
one of several ways:
1. Install lintr from github (e.g.
devtools::install_github("jimhester/lintr")).
2. Disable flymake (setq ess-use-flymake nil).
3. Install the development version of ESS (from MELPA, see
https://melpa.org/#/getting-started for how to go about doing that).
Hope that helps,
Alex
Footnotes:
[1] https://github.com/emacs-ess/ESS/issues/803
More information about the ESS-bugs
mailing list