Thin wrapper around duckdb::duckdb() with quak-friendly defaults.
Usage
conn_driver(
dbdir = ":memory:",
read_only = FALSE,
bigint = "numeric",
config = list(),
...,
unsigned = FALSE,
environment_scan = FALSE
)Arguments
- dbdir
Character scalar. Database path. Defaults to
":memory:".- read_only
Logical. Open in read-only mode. Defaults to
FALSE.- bigint
Character scalar. How to represent 64-bit integers. Defaults to
"numeric".- config
Named list of DuckDB configuration options. Defaults to
list().- ...
Additional arguments passed to
duckdb::duckdb().- unsigned
Logical. Allow loading unsigned (locally-built or community) extensions — equivalent to
duckdb -unsignedon the CLI. Setsallow_unsigned_extensions = "true"inconfig. Defaults toFALSE.- environment_scan
Logical. Scan the R environment for secrets. Defaults to
FALSE.