Skip to content

Commit ebb9db3

Browse files
committed
zeallot (%<-%) needs all args
1 parent af3ff95 commit ebb9db3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/forecaster_flatline.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ flatline_fc <- function(epi_data,
4040
args_list <- do.call(flatline_args_list, args_input)
4141
# if you want to ignore extra_sources, setting predictors is the way to do it
4242
predictors <- c(outcome, extra_sources)
43-
c(args_list, predictors) %<-% sanitize_args_predictors_trainer(epi_data, outcome, predictors, NULL, args_list)
43+
c(args_list, predictors, trainer) %<-% sanitize_args_predictors_trainer(epi_data, outcome, predictors, NULL, args_list)
4444
# end of the copypasta
4545
# finally, any other pre-processing (e.g. smoothing) that isn't performed by
4646
# epipredict

0 commit comments

Comments
 (0)