From bb49f16c3dfe036e2002c42be3438fc8efa531b8 Mon Sep 17 00:00:00 2001 From: mb706 Date: Fri, 23 Aug 2024 13:49:13 +0200 Subject: [PATCH] avoid unnecessary deprecated warnings --- tests/testthat/setup.R | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/testthat/setup.R b/tests/testthat/setup.R index 264c32f9d..24d93773b 100644 --- a/tests/testthat/setup.R +++ b/tests/testthat/setup.R @@ -6,6 +6,7 @@ lg$set_threshold("warn") options(warnPartialMatchArgs = TRUE) options(warnPartialMatchAttr = TRUE) options(warnPartialMatchDollar = TRUE) +options(mlr3.warn_deprecated = FALSE) # avoid triggers when expect_identical() accesses deprecated fields # simulate packages that extend existing task type