Skip to content

Commit e0ab1a1

Browse files
authored
fix: store_backends was silently ignored in as_resample_result.list (#1452)
1 parent 0044669 commit e0ab1a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/as_resample_result.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ as_resample_result.ResultData = function(x, view = NULL, ...) { # nolint
3939
#' @export
4040
as_resample_result.list = function(x, task, learners, resampling, store_backends = TRUE, ...) { # nolint
4141
rdata = as_result_data(task = task, learners = learners, resampling = resampling,
42-
iterations = seq_len(resampling$iters), predictions = x)
42+
iterations = seq_len(resampling$iters), predictions = x, store_backends = store_backends)
4343

4444
ResampleResult$new(rdata)
4545
}

0 commit comments

Comments
 (0)