Teardown test data after tests
test_teardown.RdRemove test data after tests based on .Renviron settings. Use to clean up test artifacts and directories after validation.
Details
Reads TEARDOWN_TEST_DATA environment variable for directories to remove.
Supports wildcard and comma-separated lists; removes recursively.
Returns nothing; side effect is file system cleanup.
Assumes valid settings and environment; errors if missing.
See also
scripts/tests/test_teardown.R
Other test utilities:
get_test_settings(),
test_results()