r2eng icon indicating copy to clipboard operation
r2eng copied to clipboard

Include new operators from R >=v4.1

Open matt-dray opened this issue 3 years ago • 3 comments

Allow for the new pipe |> and 'lambda' anonymous function syntax \() to be detected. The latter is more tricky than e.g. function(x), of course.

matt-dray avatar Jun 17 '22 18:06 matt-dray

r"{}", %||%.

matt-dray avatar Apr 27 '24 17:04 matt-dray

|> is going to be troublesome because:

substitute(x |> print())
# print(x)

matt-dray avatar Apr 29 '24 19:04 matt-dray

gram.y here: https://github.com/wch/r-source/blob/trunk/src/main/gram.y

matt-dray avatar May 07 '24 18:05 matt-dray