☰
Debian Codegraph
@
1.2.4+dfsg-1
1.2.3+dfsg-1
/
/
tests
/
testthat
/
test-deactivate.R
☽
☼
tests/testthat/test-deactivate.R
code
plain
raw
MIT
2000-2023 Posit Software, PBC
debian/copyright
1
test_that("deactivate(clean = TRUE) removes all files", {
2
3
renv_tests_scope()
4
init()
5
6
deactivate(clean = TRUE)
7
expect_false(file.exists("renv.lock"))
8
expect_false(file.exists("renv"))
9
expect_false(file.exists(".Rprofile"))
10
})