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

Viewer shows missing boolean value as if it were False

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

Describe the bug

The dataframe viewer shows missing boolean values with an unchecked check box like it were a FALSE value

To Reproduce

In the following dataframe, the second vlaue of var2 is missing, but it is shown like it were FALSE

subdf <- structure(list(var1 = c(TRUE, TRUE), var2 = c(FALSE, NA)), row.names = c(NA,
-2L), distance = "distance", weights = "weights", subclass = "subclass", class = c("matchdata",
"tbl_df", "tbl", "data.frame"))
View(subdf)

Can you fix this issue by yourself? (We appreciate the help)

No

Expected behavior

Should clearly distinguish between FALSE and missing

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