DBI::dbListTables can be used to get all tables in a database but not always in a
specific schema. listTables
will list tables in a schema.
Examples
if (FALSE) { # \dontrun{
con <- DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
listTables(con, schema = "main")
} # }