tests/testthat/setup.R

# skip tests on CRAN because they take too much time
# skip_if(Sys.getenv("TEST_ONE") != "")
# testthat::skip_on_cran()
testthat::skip_if_not_installed("duckdb")
testthat::skip_if_not_installed("duckspatial")

## Try to limit threads
Sys.setenv("OMP_THREAD_LIMIT" = 2)

# Setup default connection for tests
ddbh3_default_conn()

Try the duckh3 package in your browser

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

duckh3 documentation built on April 25, 2026, 1:07 a.m.