Skip to content

Commit 6fa4a5f

Browse files
committed
Removed randomness.
1 parent f272839 commit 6fa4a5f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/testthat/test-step_epi_naomit.R

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@ library(parsnip)
44
library(workflows)
55

66
# Random generated dataset
7-
set.seed(100)
87
x <- tibble(geo_value = rep("nowhere",200),
98
time_value = as.Date("2021-01-01") + 0:199,
10-
case_rate = rpois(100,20) + 1:200,
11-
death_rate = rpois(100,10) + 1:200) %>%
9+
case_rate = 1:200,
10+
death_rate = 1:200) %>%
1211
as_epi_df()
1312

1413
# Preparing the datasets to be used for comparison

0 commit comments

Comments
 (0)