vscode-R icon indicating copy to clipboard operation
vscode-R copied to clipboard

"Invalid Number" instead of "NA"

Open 6801318d8d opened this issue 4 months ago • 0 comments

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

Image

Environment (please complete the following information):

  • OS: Windows
  • VSCode Version: 1.104.2
  • R Version: 4.5.0
  • vscode-R version: 2.8.6

6801318d8d avatar Sep 29 '25 11:09 6801318d8d