posit-dev / positron

Positron, a next-generation data science IDE
https://positron.posit.co
Other
2.75k stars 82 forks source link

ark: support 'dotty' destructuring assignments #4544

Closed kevinushey closed 1 month ago

kevinushey commented 2 months ago

The dotty package allows users to write code like:

.[nr, nc] <- dim(cars)

Could ark's diagnostic system support such assignments, so that the following diagnostic is no longer produced?

Screenshot 2024-08-31 at 5 21 57 PM

Note that transformations are also allowed, e.g. this is also valid:

.[mpg2 = mpg * 2] <- mtcars
lionel- commented 2 months ago

There is also https://github.com/r-lib/zeallot

testlabauto commented 1 month ago

Verified Fixed

Positron Version(s) : 2024.09.0-95
OS Version          : OSX

Test scenario(s)

Verified with filing examples

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