When you print the data in the console, these values will be NA correctly (even in int64 column).
library(tibble)
(
tbl <- tibble(
col_dbl = c(NA, 2, 3, 4, 5),
col_int64 = bit64::as.integer64(c(NA, 2, 3, 4, 5))
)
)
#> # A tibble: 5 x 2
#> col_dbl col_int64
#> <dbl> <int64>
#> 1 NA NA
#> 2 2 2
#> 3 3 3
#> 4 4 4
#> 5 5 5
Created on 2020-05-13 by the reprex package (v0.3.0)
But, if you click on a dataset to see the preview(or View(tbl)
), it shows first row value in col_int64 as 0.
Is this the right behavior?