Skip to content

Commit

Permalink
Merge branch 'main' into early-period
Browse files Browse the repository at this point in the history
  • Loading branch information
sbfnk authored Dec 20, 2024
2 parents f4b0535 + d1a7714 commit a8475fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/testthat/setup.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ if (identical(Sys.getenv("NOT_CRAN"), "true")) {
}
}

withr::defer(future::plan("sequential"), teardown_env())
if (requireNamespace("future", quietly = TRUE)) {
withr::defer(future::plan("sequential"), teardown_env())
}
1 change: 1 addition & 0 deletions tests/testthat/test-setup_future.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
skip_on_cran()
reported_cases <- data.frame(region = c("test", "boo"))
futile.logger::flog.threshold("FATAL")

Expand Down

0 comments on commit a8475fd

Please sign in to comment.