positron icon indicating copy to clipboard operation
positron copied to clipboard

R's native placeholder not recognised in chained `data.table` steps

Open Fred-Wu opened this issue 1 year ago • 2 comments

Thanks for the new IDE. I normally use R's native placeholder _ in chained data.table steps. However, in the below step, symbols are not recognised.

image

Fred-Wu avatar Jun 30 '24 13:06 Fred-Wu

The diagnostics problem here may be specific to how _ is used in data.table. This code, for example, has correct diagnostics:

mtcars |> lm(mpg ~ cyl, data = _)

juliasilge avatar Jul 01 '24 14:07 juliasilge

Something like below also raises error using data.table, but was suggested by the code completion.

image image

OR

image

Fred-Wu avatar Jul 03 '24 11:07 Fred-Wu

Related to #5271

DavisVaughan avatar Feb 12 '25 16:02 DavisVaughan

Duplicate of #### Verified Fixed Positron Version(s) : 2025.06.0-145 OS Version : OSX

Test scenario(s)

Can no longer repro with original filing code.

Link(s) to TestRail test cases run or created:

testlabauto avatar May 27 '25 15:05 testlabauto