Skip to content

Commit cdd9fee

Browse files
Update tests/testthat/test-epi_slide_opt_archive.R
Co-authored-by: David Weber <[email protected]>
1 parent 5d2782d commit cdd9fee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/testthat/test-epi_slide_opt_archive.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,10 @@ test_that("epi_slide_opt.epi_archive gives expected results on example data; als
173173
group_by(geo_value)
174174
)
175175

176-
mini_case_death_rate_archive_b <- mini_case_death_rate_archive %>%
177-
{
178-
as_tibble(as.data.frame(.$DT))
179-
} %>%
176+
mini_case_death_rate_archive_b <-
177+
mini_case_death_rate_archive$DT %>%
178+
as.data.frame() %>%
179+
as_tibble() %>%
180180
mutate(age_group = "overall") %>%
181181
as_epi_archive(other_keys = "age_group")
182182

0 commit comments

Comments
 (0)