tests/testthat/test-config.R

test_that("config", {

    skip_on_cran() # All examples must run on slow machine in 5 secs

    duckdb_config(threads = 1, memory_limit = '10GB')
    duckdb_config(threads = 10)

    threads = duckdb_get_config("threads")
    expect_equal(threads, '10')
    duckdb_reset("threads")
})

Try the duckdbfs package in your browser

Any scripts or data that you put into this service are public.

duckdbfs documentation built on Aug. 8, 2025, 6:57 p.m.