From 4d4e3ab4308cad3ab59a2bfd403e64257223a002 Mon Sep 17 00:00:00 2001 From: Puzzled-Face Date: Fri, 1 Nov 2024 07:59:34 +0000 Subject: [PATCH] Fix rhub warning --- tests/testthat/test-createGrid.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) })