Skip to content

Commit 9b5b417

Browse files
committed
minor adjustments
1 parent 5ade571 commit 9b5b417

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

R/epi_ahead.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ prep.step_epi_ahead <- function(x, training, info = NULL, ...) {
117117
#' @export
118118
bake.step_epi_ahead <- function(object, new_data, ...) {
119119
if (!all(object$ahead == as.integer(object$ahead))) {
120-
rlang::abort("step_epi_ahead requires 'lag' argument to be integer valued.")
120+
rlang::abort("step_epi_ahead requires 'ahead' argument to be integer valued.")
121121
}
122122

123123
grid <- tidyr::expand_grid(

musings/example-recipe.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ r <- epi_recipe(x) %>% # if we add this as a class, maybe we get better
4747

4848
slm <- linear_reg()
4949

50+
# slm_fit <- workflow(r, slm)
5051
slm_fit <- workflow() %>%
5152
add_recipe(r) %>%
5253
add_model(slm) %>%

0 commit comments

Comments
 (0)