REditorSupport / REditorSupport/languageserver
Spurious "No visible global function definition" errors in function definitions
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 675
- Forks
- 118
- Avg merge
- 1d 37m
- Merged PRs (30d)
- 11
Description
Apologies for the confusing title. The problem is that package functions are somehow not recognized when they are referenced from the body of a function. Here's an example in sublime; I get the same behavior in VS Code.
Contributor guide
No contributing guide indexed for this repository
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
Reproduce the diagnostic in Sublime or VS Code using the package-function call inside a function shown in the report. Then trace the language-server path that reports "No visible global function definition"; done means package functions referenced in function bodies are recognized without spurious errors.
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