Skip to content
Discussion options

You must be logged in to vote

Thanks. I can run it now:

tibble::tibble(timestamp = lubridate::now()) |>
  duckplyr::as_duckdb_tibble()
#> Error in `check_df_for_rel()` at duckplyr/R/relational-duckdb.R:120:3:
#> ! Can't convert column `timestamp` to relational.

Created on 2025-05-01 with reprex v2.1.1

Just curious: why does using the reprex package seem so difficult?

Checking what now() is doing:

dput(lubridate::now())
#> structure(1746129544.63473, class = c("POSIXct", "POSIXt"), tzone = "")

Created on 2025-05-01 with reprex v2.1.1

The following works today:

tibble::tibble(timestamp = lubridate::now(tzone = "UTC")) |>
  duckplyr::as_duckdb_tibble()
#> # A duckplyr data frame: 1 variable
#>   timestamp          
#>   …

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mgacc0
Comment options

You must be logged in to vote
1 reply
@krlmlr
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #714 on May 01, 2025 10:01.