Skip to content

Commit a595f89

Browse files
committed
feat: update pipeline code to work with new epiprocess branch
1 parent 26abb83 commit a595f89

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

R/looping.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ slide_forecaster <- function(data,
108108
names(res) <- sub("^slide_value_", "", names(res))
109109

110110
# append the truth data
111-
true_value <- archive$as_of(archive$versions_end) %>%
111+
true_value <- archive %>%
112+
as_of(archive$versions_end) %>%
112113
select(geo_value, time_value, !!outcome) %>%
113114
rename(true_value = !!outcome)
114115
res %<>%

0 commit comments

Comments
 (0)