Skip to content

Commit 775c0fc

Browse files
committed
Clean up unused assignment
1 parent 7fd2119 commit 775c0fc

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

R/grouped_epi_archive.R

-7
Original file line numberDiff line numberDiff line change
@@ -277,13 +277,6 @@ epix_slide.grouped_epi_archive <- function(x, f, ..., before, ref_time_values,
277277
# Carry out the specified computation
278278
comp_value <- f(.data_group, .group_key, ref_time_value, ...)
279279

280-
if (all_versions) {
281-
# Extract data from archive so we can do length checks below. When
282-
# `all_versions = TRUE`, `.data_group` will always be an ungrouped
283-
# archive because of the preceding `epix_as_of` step.
284-
.data_group <- .data_group$DT
285-
}
286-
287280
assert(
288281
check_atomic(comp_value, any.missing = TRUE),
289282
check_data_frame(comp_value),

0 commit comments

Comments
 (0)