tests/testthat/setup.R

# Run before any test
file.copy(test_path("test-data"), tempdir(), recursive = TRUE)
test_tmpdir <- file.path(tempdir(), "test-data")


# Run after all tests
withr::defer(unlink(test_tmpdir), teardown_env())

Try the pacta.multi.loanbook package in your browser

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

pacta.multi.loanbook documentation built on April 4, 2025, 12:40 a.m.