REditorSupport / REditorSupport/vscode-R
`aa = keras::layer_input()` breaks the global environment viewer
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 139
- Avg merge
- 2h 46m
- Merged PRs (30d)
- 5
Description
Describe the bug
The title is clear enough.
To Reproduce
Steps to reproduce the behavior:
- command palette -> create r terminal
library(keras)aa = layer_input(shape=c(2,3))- the assignment succeeds, but environment viewer will not update hereafter
- every command hereafter will trigger a "Missing value where TRUE/FALSE needed" output in the R console.
- Call
rm(aa), everything goes back to normal.
Can you fix this issue by yourself? (We appreciate the help)
No
Environment (please complete the following information):
- OS: Windows 10 and ubuntu 22.04
- VSCode Version: Any will do
- R Version: anything above 4.1
- vscode-R version: 2.8.2
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 in a VS Code R terminal with library(keras) and aa = layer_input(shape=c(2,3)); start by tracing the environment viewer update after that assignment. Done means the viewer continues updating and subsequent commands no longer report "Missing value where TRUE/FALSE needed", with rm(aa) still restoring normal behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- keras, r
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100