Basic test sanitation
test_sanitize.Rd
This:
runs any deferred tasks that may be pending
calls devtools::load_all if not testing
resets loggers
purges the storage
calls rm.all with noted exclusions
sets up a deferred storage purge on exit
Usage
test_sanitize(exclusions = c(), envir = parent.frame())