Closed mcol closed 6 years ago
Reproducible example:
library(pander)
df <- data.frame(a=letters[1:5], b=bit64::as.integer64(1:5))
pander(df)
Looks like sapply
and format
doesn't like int64:
> sapply(bit64::as.integer64(1:5), format)
[1] "4.940656e-324" "9.881313e-324" "1.482197e-323" "1.976263e-323"
[5] "2.470328e-323"
Seems to be OK now, please check.
When I use dbGetQuery() to query a database table (with the RMariaDB/DBI packages), integer values are now returned as integer64. Printing them with pander produces the wrong output.
If I convert the column to be just an integer, then pander behaves as expected;