diff --git a/tests/testthat/test-createGrid.R b/tests/testthat/test-createGrid.R index 9a5bf96..02d0cf7 100644 --- a/tests/testthat/test-createGrid.R +++ b/tests/testthat/test-createGrid.R @@ -59,5 +59,5 @@ test_that("createGrid works when both nMin and nMax are specified and logging is createGrid(p0 = 0.1, p1 = 0.4, alpha = 0.1, beta = 0.1, nMin = 20, nMax = 30) ) - withr::defer(futile.logger::flog.threshold(oldThreshold)) + defer(futile.logger::flog.threshold(oldThreshold)) })