| 1 |
|
| 2 |
teardown_env <- function() { |
| 3 |
if (testthat::is_testing()) |
| 4 |
testthat::teardown_env() |
| 5 |
else |
| 6 |
globalenv() |
| 7 |
} |
| 8 |
|
| 9 |
the$tests_repopath <- renv_scope_tempfile("renv-repos-", scope = teardown_env()) |
| 10 |
|
| 11 |
renv_tests_repopath <- function() { |
| 12 |
the$tests_repopath |
| 13 |
} |