From 9a899a3a97ab44520c8e69d2a15d47012bc19eb2 Mon Sep 17 00:00:00 2001 From: mb706 Date: Mon, 22 Apr 2024 18:36:29 +0200 Subject: [PATCH] more fix --- inst/testthat/helper_functions.R | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inst/testthat/helper_functions.R b/inst/testthat/helper_functions.R index 5eb4006b8..2ee53cace 100644 --- a/inst/testthat/helper_functions.R +++ b/inst/testthat/helper_functions.R @@ -233,10 +233,10 @@ expect_datapreproc_pipeop_class = function(poclass, constargs = list(), task, expect_equal(po$innum, 1) expect_equal(po$outnum, 1) - expect_true(are_types_compatible(po$input$train, "Task")) - expect_true(are_types_compatible(po$input$predict, "Task")) - expect_true(are_types_compatible(po$output$train, "Task")) - expect_true(are_types_compatible(po$output$predict, "Task")) + expect_true(mlr3pipelines:::are_types_compatible(po$input$train, "Task")) + expect_true(mlr3pipelines:::are_types_compatible(po$input$predict, "Task")) + expect_true(mlr3pipelines:::are_types_compatible(po$output$train, "Task")) + expect_true(mlr3pipelines:::are_types_compatible(po$output$predict, "Task")) expect_error(po$train(list(NULL)), "class.*Task.*but has class")