posit-dev / posit-dev/positron

Diagnostics: No symbol in scope when using future assignment construct

Open
#3,047 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: diagnostics area: kernels enhancement lang: r support
Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 9h
Merged PRs (30d)
195

Description

Discussed in https://github.com/posit-dev/positron-beta/discussions/174

Originally posted by jeffkeller-einc May 7, 2024
Positron complains about a missing symbol when using the {future} assignment construct %<-% even after calling library(future) and setting a plan.

Screenshot 2024-05-07 at 9 57 09 AM

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

Reproduce the diagnostic in Positron with the {future} package, library(future), a configured plan, and the %<-% assignment construct. Trace the diagnostics entry point that reports the missing symbol and compare behavior before and after the package setup; done means the valid construct no longer produces a missing-symbol diagnostic.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.