Skip to content

Commit

Permalink
assign result of as_model_out_tbl to model_outputs
Browse files Browse the repository at this point in the history
Co-authored-by: Evan Ray <elray1@users.noreply.github.com>
  • Loading branch information
lshandross and elray1 authored Jul 11, 2023
1 parent 5e6144c commit 8a9b75d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/simple_ensemble.R
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ simple_ensemble <- function(model_outputs, weights = NULL,
}

if (isFALSE("model_out_tbl" %in% class(model_outputs))) {
hubUtils::as_model_out_tbl(model_outputs)
model_outputs <- hubUtils::as_model_out_tbl(model_outputs)
}

model_out_cols <- colnames(model_outputs)
Expand Down

0 comments on commit 8a9b75d

Please sign in to comment.