posit-dev / posit-dev/positron
R No symbol named '.' in scope.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4.3k
- Forks
- 184
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 206
Description
System details:
MacOS Sequoia
Positron and OS details:
Positron Version: 2025.06.0 (Universal) build 167
Code - OSS Version: 1.100.0
Commit: e7e5d5590adc6bf7b760f837051cd2f57ea9e3dc
Date: 2025-05-29T20:44:08.369Z (1 mo ago)
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0
Interpreter details:
R version 4.4.0 (2024-04-24)
Describe the issue:
The editor declares a problem when the magrittr "." is used inside curly braces.
Steps to reproduce the issue:
- put the following code in the editor as save as an R file.
library(magrittr)
1 %>%
{
. + 1
}
- A problem will pop up declaring "No symbol named '.' in scope."
Expected or desired behavior:
The "." is a valid variable within the scope of the curly braces and should not be lagged as a problem.
Were there any error messages in the UI, Output panel, or Developer Tools console?
Problems: "No symbol named '.' in scope."
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the diagnostic in an R file with the provided magrittr pipeline and inspect the editor's Problems output for the reported scope error. Trace the R symbol-resolution or diagnostic entry point that handles symbols inside curly braces; done means the '.' placeholder is no longer flagged while unrelated scope diagnostics still appear.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100