posit-dev / posit-dev/positron

Consider showing more (optional?) diagnostics for R code

Open
#6,607 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement lang: r support
Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 11h
Merged PRs (30d)
206

Description

In https://github.com/posit-dev/positron/discussions/6574 @mynanshan points out that we don't have the full set of diagnostics like RStudio does:

image

The particular diagnostic that @mynanshan was looking for is "warn if no variable definition in scope", but there are a lot of these. Notice that these are individually configurable; I'm not sure if we want to go down that path for Positron.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files, tests, or entry points are named. Start with discussion 6574 and compare the diagnostic behavior shown in the linked screenshot with the RStudio diagnostics described there. Before implementation, clarify which diagnostics Positron should support and whether each should be configurable; done means the agreed diagnostics appear correctly in the R workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.