tests/testthat/teardown.R

# During teardown, testthat uses the file's current directory
downloads <- dir(path = ".",
                 pattern = "((portal)|(test.sqlite)|(sqlite.db)|(\\d+\\d))")
file.remove(downloads)
unlink("data", recursive = TRUE)

Try the rdataretriever package in your browser

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

rdataretriever documentation built on May 18, 2022, 5:06 p.m.