Skip to content

Commit 043618d

Browse files
committed
Deleted random code I put in on a test.
1 parent cb7c30a commit 043618d

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tests/testthat/test-epi_shift_internal.R

-10
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,6 @@ test_that("Values for ahead and lag cannot be duplicates", {
5151
)
5252
})
5353

54-
xxx <- x %>%
55-
mutate(`..y` = lead(death_rate,7),
56-
lag_7_death_rate = lag(death_rate,7),
57-
lag_14_death_rate = lag(death_rate, 14)) %>%
58-
rename(lag_0_death_rate = death_rate)
59-
60-
lm1 <- lm(`..y` ~ lag_0_death_rate + lag_7_death_rate + lag_14_death_rate,
61-
data = xxx)
62-
63-
6454
test_that("Check that epi_lag shifts applies the shift", {
6555
r5 <- epi_recipe(x) %>%
6656
step_epi_ahead(death_rate, ahead = 7) %>%

0 commit comments

Comments
 (0)