Replies: 1 comment 2 replies
-
Can you say more about how you are generating those diagnostics in RStudio? I just tried this out and don't see diagnostics: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Positron community. I am very excited to try this VS-Code style editor integrated with excellent Rstudio features.
I found the code linting sometimes not working. See the following screenshot for an example:
In the function
f = function(x) return(y)
, symboly
is not defined and should be reported in the diagnostics. In contrast, Rstudio marks this error correctly (this function can be enabled in Global Options):The code linting may work partially and occasionally. Sometimes, the linter can detect part of the coding errors, but it does not find all errors, and the diagnostics may disappear after some time.
Has anyone experienced the same issue? Can/Will Positron support the Rstudio's code diagnostics? Or maybe an R-linter that resembles those for Python (e.g. Pylint, Pylance, Pyright)?
Version information:
Beta Was this translation helpful? Give feedback.
All reactions