Skip to content

Commit 6944e10

Browse files
committed
marshal change
1 parent 89a91a1 commit 6944e10

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ Remotes:
3131
mlr-org/mlr3@bundle
3232
Encoding: UTF-8
3333
Roxygen: list(markdown = TRUE)
34-
RoxygenNote: 7.2.3.9000
34+
RoxygenNote: 7.3.1

tests/testthat/test_batchmark.R

+5-5
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,13 @@ test_that("failing jobs", {
8787
expect_error(reduceResultsBatchmark(reg = reg, ids = ids), "successfully computed")
8888
})
8989

90-
test_that("marshalling", {
90+
test_that("marshaling", {
9191
reg = batchtools::makeExperimentRegistry(NA)
9292
batchmark(benchmark_grid(tsk("iris"), lrn("classif.lily"), rsmp("holdout")), store_models = TRUE)
9393
submitJobs()
94-
bmr_unmarshalled = reduceResultsBatchmark(unmarshal = TRUE)
95-
bmr_marshalled = reduceResultsBatchmark(unmarshal = FALSE)
94+
bmr_unmarshaled = reduceResultsBatchmark(unmarshal = TRUE)
95+
bmr_marshaled = reduceResultsBatchmark(unmarshal = FALSE)
9696

97-
expect_true(bmr_marshalled$resample_result(1)$learners[[1]]$marshalled)
98-
expect_false(bmr_unmarshalled$resample_result(1)$learners[[1]]$marshalled)
97+
expect_true(bmr_marshaled$resample_result(1)$learners[[1]]$marshaled)
98+
expect_false(bmr_unmarshaled$resample_result(1)$learners[[1]]$marshaled)
9999
})

0 commit comments

Comments
 (0)