Skip to content

Commit

Permalink
Update test-rix.R
Browse files Browse the repository at this point in the history
  • Loading branch information
b-rodrigues authored Sep 18, 2024
1 parent 7ef9b6b commit 63ca50a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/testthat/test-rix.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ testthat::test_that("rix(), ide is 'rstudio', Linux", {
path_default_nix <- normalizePath(path_default_nix)

save_default_nix_test <- function(ide, path_default_nix) {
on.exit(
unlink(path_default_nix, recursive = TRUE, force = TRUE),
add = TRUE
)

rix(
r_ver = "4.3.1",
r_pkgs = c("dplyr", "janitor", "AER@1.2-8", "quarto"),
Expand Down Expand Up @@ -42,10 +47,7 @@ testthat::test_that("rix(), ide is 'rstudio', Linux", {
name = "rstudio_default.nix",
)

on.exit(
unlink(path_default_nix, recursive = TRUE, force = TRUE),
add = TRUE
)

})


Expand Down

0 comments on commit 63ca50a

Please sign in to comment.