[ESS] colour Errors

Andreas Leha @ndre@@@|eh@ @end|ng |rom med@un|-goett|ngen@de
Fri Nov 20 07:24:14 CET 2015


Hi all,

I would like to re-open this issue.  Now I have seen (after I had missed
initially) an error that was not highlighted -- even when the R session
is local.


When running this code:

--8<---------------cut here---------------start------------->8---
library("dplyr")

testfun <- function(x)
{
  warning("warning")
}

testfun()
mtcars %>%
  as.data.frame %>%
  as.data.frame %>%
  as.data.frame %>%
  as.data.frame %>%
  filter(log2(mpg == 1)) %>%
  testfun
--8<---------------cut here---------------end--------------->8---


I get this output

--8<---------------cut here---------------start------------->8---

Warning message:
In testfun() : warning
> + . + Error: filter condition does not evaluate to a logical vector. 
> 
--8<---------------cut here---------------end--------------->8---

without the Error being syntax highlighted.


I hope this is reproducible and sorry for the not-so-nice example code.

Regards,
Andreas




More information about the ESS-help mailing list