teardown.R removes test data files created by setup.R after the tests are run. This averts an R CMD check NOTE about file paths that are too long (>100 bytes).
Right now this removes all the mock files except mock_dashboard.Rmd, which is currently under version control but not used in any tests as far as I can tell. If we're ok with removing this too then I can update the PR to remove the entire testdata/ directory.
teardown.R
removes test data files created bysetup.R
after the tests are run. This averts an R CMD check NOTE about file paths that are too long (>100 bytes).Right now this removes all the mock files except
mock_dashboard.Rmd
, which is currently under version control but not used in any tests as far as I can tell. If we're ok with removing this too then I can update the PR to remove the entiretestdata/
directory.