Skip to content

Commit 053b501

Browse files
committed
rerererebase
1 parent 561570e commit 053b501

File tree

6 files changed

+3
-56
lines changed

6 files changed

+3
-56
lines changed

NAMESPACE

-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,6 @@ importFrom(rlang,is_empty)
294294
importFrom(rlang,is_logical)
295295
importFrom(rlang,is_null)
296296
importFrom(rlang,is_true)
297-
importFrom(rlang,is_vector)
298297
importFrom(rlang,list2)
299298
importFrom(rlang,set_names)
300299
importFrom(rlang,sym)

R/get_test_data.R

+2
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ get_test_data <- function(recipe, x) {
4141
min_lags <- min(map_dbl(recipe$steps, ~ min(.x$lag %||% Inf)), Inf)
4242
max_lags <- max(map_dbl(recipe$steps, ~ max(.x$lag %||% 0)), 0)
4343
max_horizon <- max(map_dbl(recipe$steps, ~ max(.x$horizon %||% 0)), 0)
44+
max_slide <- max(map_dbl(recipe$steps, ~ max(.x$before %||% 0)), 0)
45+
min_required <- max_lags + max_horizon + max_slide
4446
keep <- max_lags + max_horizon
4547

4648
# CHECK: Error out if insufficient training data

man/step_epi_shift.Rd

-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/testthat/_snaps/enframer.md

-32
This file was deleted.

tests/testthat/_snaps/pivot_quantiles.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,5 @@
4545
pivot_quantiles_longer(tib, d1, d3)
4646
Condition
4747
Error in `pivot_quantiles_longer()`:
48-
! Some selected columns contain different numbers of quantiles.
49-
The result would be a very long <tibble>.
50-
To do this anyway, rerun with `.ignore_length_check = TRUE`.
48+
! Some selected columns contain different numbers of quantiles. The result would be a very long <tibble>. To do this anyway, rerun with `.ignore_length_check = TRUE`.
5149

tests/testthat/test-enframer.R

-13
This file was deleted.

0 commit comments

Comments
 (0)