Skip to content

Commit

Permalink
Merge pull request #786 from mlr-org/ranger_suggest
Browse files Browse the repository at this point in the history
Suggest ranger package
  • Loading branch information
mb706 authored Jul 30, 2024
2 parents c542a26 + 35b4c08 commit c74b491
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ Suggests:
methods,
vtreat,
future,
htmlwidgets
htmlwidgets,
ranger
ByteCompile: true
Encoding: UTF-8
Config/testthat/edition: 3
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test_pipeop_encodelmer.R
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit c74b491

Please sign in to comment.