REditorSupport / REditorSupport/vscode-R
"Invalid Number" instead of "NA"
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 139
- Avg merge
- 2h 46m
- Merged PRs (30d)
- 5
Description
Describe the bug
Sometimes the Viewer shows "Invalid Number" instead of NA for missing values
To Reproduce
subdf <- structure(list(pi_projectId = c(324233, NA), title = c("Analytical Sociology: Theoretical Developments and Empirical Research",
NA)), row.names = 1:2, class = c("matchdata", "tbl_df", "tbl",
"data.frame"), distance = "distance", weights = "weights", subclass = "subclass")
View(subdf)
Can you fix this issue by yourself? (We appreciate the help)
No
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Environment (please complete the following information):
- OS: Windows
- VSCode Version: 1.104.2
- R Version: 4.5.0
- vscode-R version: 2.8.6
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 example in the VS Code Viewer using the stated Windows, R 4.5.0, and vscode-R 2.8.6 environment. Trace the Viewer’s rendering of missing R values and verify that the reproduced missing entries display as "NA" rather than "Invalid Number".
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r, typescript, vscode
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100