Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
advieser committed Jul 30, 2024
1 parent 50360e9 commit 886af9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/testthat/test_pipeop_rowapply.R
Original file line number Diff line number Diff line change
Expand Up @@ -427,12 +427,12 @@ test_that("PipeOpRowApply - transform works on empty task (no rows)", {
})


test_that("PipeOpRowApply - transform works for only empty predict task (no rows)", {
test_that("PipeOpRowApply - transform works for empty predict task (no rows)", {

op = PipeOpRowApply$new()
task_train = mlr_tasks$get("wine")
task_predict = task$filter(0)
cnames = task$feature_names
task_predict = task_train$filter(0)
cnames = task_train$feature_names

# applicator generates matrix with names
applicator = function(x) x^2
Expand Down

0 comments on commit 886af9c

Please sign in to comment.