rstudio / pins-r

Pin, discover, and share resources
https://pins.rstudio.com
Other
312 stars 63 forks source link

RSC preview doesn't work with difftime columns #504

Closed hadley closed 3 years ago

hadley commented 3 years ago
library(pins)
board <- board_rsconnect()
#> Connecting to RSC 1.9.0.1 at <https://connect.rstudioservices.com>
df <- data.frame(x = Sys.time())
df$y <- df$x - Sys.time()

board %>% pin_write(df, "test")
#> Guessing `type = 'rds'`
#> Error: No method asJSON S3 class: difftime

Created on 2021-09-07 by the reprex package (v2.0.0)

github-actions[bot] commented 2 years ago

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.