[rkward] [Bug 463346] Make R console compatible with 'cli' R package

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Sat Dec 31 08:49:41 GMT 2022


https://bugs.kde.org/show_bug.cgi?id=463346

--- Comment #6 from flyos at mailoo.org ---
I am currently toying quite a lot with the syntax highlighting of "R
interactive session" (I've sent a PR on invent to fix highlighting of the
native pipe by the way), and I've managed to replicate most of the colours of
'cli' package to easily distinguish between errors and warnings and whatnot.

I'm actually getting a bit carried away and starting to include highlighting
for vector/matrix-indices (it's rather dampening in this case), floats, NA and
boolean... I find it quite handy to have, as it helps making sense of a
data.frame more easily, but it's not really the matter of this bug report. So I
need to ask: would you be open to a PR for syntax highlighting containing all
these goodies, or should I rather extract only the parts about cli-colouring at
the time of submit?

I'll try to use my modifications for something like a month to make sure I get
most of the corner cases (at least based on my habits) before submitting
anything.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the rkward-devel mailing list