Skip to content

Commit ad2a50b

Browse files
committed
refactor: one more %<>%
1 parent 1bb4955 commit ad2a50b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/forecaster.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ arx_preprocess <- function(rec, outcome, predictors, args_list) {
8282
lags <- args_list$lags
8383
for (l in seq_along(lags)) {
8484
p <- predictors[l]
85-
rec <- rec %>% step_epi_lag(!!p, lag = lags[[l]])
85+
rec %<>% step_epi_lag(!!p, lag = lags[[l]])
8686
}
8787
rec %<>%
8888
step_epi_ahead(!!outcome, ahead = args_list$ahead) %>%

0 commit comments

Comments
 (0)