tests/testthat/_snaps/rolling_origin.md

lag

Code
  rolling_origin(drinks, initial = 5, lag = 6)
Condition
  Error in `rolling_origin()`:
  ! `lag` must be less than or equal to the number of training observations.
Code
  rolling_origin(drinks, lag = 2.1)
Condition
  Error in `rolling_origin()`:
  ! `lag` must be a whole number.


tidymodels/rsample documentation built on Sept. 29, 2024, 10:48 p.m.