tests/testthat/setup.R

# Clean up extension cache on CRAN
withr::defer(envir = testthat::teardown_env(), tryCatch(
  {
    skip_on_cran()
  },
  skip = function(e) {
    cleanup_user_directory()
  }
))

Try the duckdb package in your browser

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

duckdb documentation built on March 26, 2026, 9:06 a.m.