Debian Codegraph @

tests/testthat/test-patches.R

raw
1
2 test_that("a bad TAR is repaired", {
3 renv_scope_envvars(TAR = "/no/such/tar")
4 expect_warning(renv_patch_tar())
5 expect_false(Sys.getenv("TAR") == "/no/such/tar")
6 })