From a6dfe46e5c2a497da766ef6a5ac43933535f1475 Mon Sep 17 00:00:00 2001 From: mb706 Date: Tue, 30 Jul 2024 12:18:07 +0200 Subject: [PATCH 1/2] Suggest ranger package --- DESCRIPTION | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 29f8348b2..e3fee739f 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -87,7 +87,8 @@ Suggests: methods, vtreat, future, - htmlwidgets + htmlwidgets, + ranger ByteCompile: true Encoding: UTF-8 Config/testthat/edition: 3 From 35b4c08f3f3e6c8cff35e65b72a909b4c02e077f Mon Sep 17 00:00:00 2001 From: mb706 Date: Tue, 30 Jul 2024 12:24:15 +0200 Subject: [PATCH 2/2] encodelmer bigger test task --- tests/testthat/test_pipeop_encodelmer.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test_pipeop_encodelmer.R b/tests/testthat/test_pipeop_encodelmer.R index 8ec4b297a..fb8c7a573 100644 --- a/tests/testthat/test_pipeop_encodelmer.R +++ b/tests/testthat/test_pipeop_encodelmer.R @@ -33,7 +33,7 @@ test_that("PipeOpEncodeLmer multi and binaryclass", { # Multiclass task = mlr3::TaskClassif$new("task", - data.table::data.table(x = sample_n_letters(20), y = sample_n_letters(20), z = seq_len(20)), "x") + data.table::data.table(x = sample_n_letters(40), y = sample_n_letters(40), z = seq_len(40)), "x") expect_datapreproc_pipeop_class(PipeOpEncodeLmer, task = task) op = PipeOpEncodeLmer$new()