@sparrow925 @vorpalvorpal: This is the new syntax:
library(duckdb)
#> Loading required package: DBI
con <- dbConnect(duckdb())
dbWriteTable(con, "data", data.frame(a = 1:3))
tbl <- dplyr::tbl(con, "data")
duckplyr::as_duckdb_tibble(tbl)
#> # A duckplyr data frame: 1 variable
#> a
#> <int>
#> 1 1
#> 2 2
#> 3 3
Created on 2025-03-04 with reprex v2.1.1
How do we need to adapt the documentation?