REditorSupport / REditorSupport/vscode-R
Function autocompletion not working if packages are `source()`ed from a script or loaded from R terminal
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 139
- Avg merge
- 2h 46m
- Merged PRs (30d)
- 5
Description
If I source() a script to load packages, or load a package from R terminal, the auto-completion does not work.
It only works if I send the code library() from the script to R terminal.
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
Reproduce the failure by loading a package with source() from a script and by loading it from the R terminal, then compare both with sending library() from the script. Done means function autocompletion works in the first two cases as it does after library(); the issue names no file or test, so the relevant entry point must first be located.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r, typescript, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100