tests/testthat/teardown.R

try(pool_stop(), silent = TRUE)
try(closeAllConnections(), silent = TRUE)
try(gc(), silent = TRUE)

Try the shard package in your browser

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

shard documentation built on April 3, 2026, 9:08 a.m.