Skip to content

Commit 023c361

Browse files
authored
Merge branch 'dev' into hotfix-growth_rate
2 parents dd011a0 + 5496b84 commit 023c361

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

NEWS.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Pre-1.0.0 numbering scheme: 0.x will indicate releases, while 0.0.x will indicat
88

99
- Moved example datasets from being hosted in the package to being loaded
1010
from the `epidatasets` package. The datasets can no longer be loaded with
11-
`data(<dataset name>)`, but can be accessed with
12-
`data(<dataset name>, package = "epidatasets")`, `epidatasets::<dataset name>`
11+
`data(<dataset name>)`, but can be accessed with
12+
`data(<dataset name>, package = "epidatasets")`, `epidatasets::<dataset name>`
1313
or, after loading the package, the name of the dataset alone (#382).
1414
- Addresses upstream breaking changes from cmu-delphi/epiprocess#595 (`growth_rate()`).
1515
`step_growth_rate()` has lost its `additional_gr_args_list` argument and now
@@ -30,6 +30,7 @@ Pre-1.0.0 numbering scheme: 0.x will indicate releases, while 0.0.x will indicat
3030
- dist_quantiles can have all `NA` values without causing unrelated errors
3131
- adjust default quantiles throughout so that they match.
3232
- force `layer_residual_quantiles()` to always include `0.5`.
33+
- Rename `recipes:::check_training_set()` to `recipes:::validate_training_data()`, as it changed in recipes 1.1.0.
3334

3435
# epipredict 0.1
3536

R/epi_recipe.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ prep.epi_recipe <- function(
448448
"!" = "to avoid addtional warning messages."
449449
))
450450
}
451-
training <- recipes:::check_training_set(training, x, fresh)
451+
training <- recipes:::validate_training_data(training, x, fresh)
452452
training <- epi_check_training_set(training, x)
453453
training <- relocate(training, all_of(key_colnames(training)))
454454
tr_data <- recipes:::train_info(training)

0 commit comments

Comments
 (0)