Skip to content

Commit

Permalink
rerererebase
Browse files Browse the repository at this point in the history
  • Loading branch information
dsweber2 committed Oct 1, 2024
1 parent 561570e commit 053b501
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 56 deletions.
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,6 @@ importFrom(rlang,is_empty)
importFrom(rlang,is_logical)
importFrom(rlang,is_null)
importFrom(rlang,is_true)
importFrom(rlang,is_vector)
importFrom(rlang,list2)
importFrom(rlang,set_names)
importFrom(rlang,sym)
Expand Down
2 changes: 2 additions & 0 deletions R/get_test_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ get_test_data <- function(recipe, x) {
min_lags <- min(map_dbl(recipe$steps, ~ min(.x$lag %||% Inf)), Inf)
max_lags <- max(map_dbl(recipe$steps, ~ max(.x$lag %||% 0)), 0)
max_horizon <- max(map_dbl(recipe$steps, ~ max(.x$horizon %||% 0)), 0)
max_slide <- max(map_dbl(recipe$steps, ~ max(.x$before %||% 0)), 0)
min_required <- max_lags + max_horizon + max_slide
keep <- max_lags + max_horizon

# CHECK: Error out if insufficient training data
Expand Down
7 changes: 0 additions & 7 deletions man/step_epi_shift.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 0 additions & 32 deletions tests/testthat/_snaps/enframer.md

This file was deleted.

4 changes: 1 addition & 3 deletions tests/testthat/_snaps/pivot_quantiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,5 @@
pivot_quantiles_longer(tib, d1, d3)
Condition
Error in `pivot_quantiles_longer()`:
! 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`.
! 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`.

13 changes: 0 additions & 13 deletions tests/testthat/test-enframer.R

This file was deleted.

0 comments on commit 053b501

Please sign in to comment.