tests/testthat/setup.R

# CRAN limits checks to 2 cores
data.table::setDTthreads(2)

# keep tests out of the user's real cache
options(varunayan.cache_dir = file.path(tempdir(), "varunayan-test-cache"))

Try the varunayan package in your browser

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

varunayan documentation built on Oct. 30, 2026, 1:07 a.m.