From 38609bf82fd6b5dadb3717809f40a2b24dd236bc Mon Sep 17 00:00:00 2001 From: Michel Lang Date: Tue, 7 Nov 2023 13:56:43 +0100 Subject: [PATCH] disable test breaking with atlas blas --- tests/testthat/test_classif_nnet.R | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/testthat/test_classif_nnet.R b/tests/testthat/test_classif_nnet.R index 8d552a96..232bc89f 100644 --- a/tests/testthat/test_classif_nnet.R +++ b/tests/testthat/test_classif_nnet.R @@ -1,8 +1,9 @@ skip_if_not_installed("nnet") +skip_on_cran() # numerically instable with ATLAS blas test_that("autotest", { - learner = mlr3::lrn("classif.nnet") + learner <- mlr3::lrn("classif.nnet") expect_learner(learner) - result = run_autotest(learner) + result <- run_autotest(learner) expect_true(result, info = result$error) })