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.


Try the rsample package in your browser

Any scripts or data that you put into this service are public.

rsample documentation built on April 11, 2025, 5:54 p.m.