Running 'testthat.R' [29s/35s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(slider)
  > 
  > test_check("slider")
  [ FAIL 2 | WARN 0 | SKIP 13 | PASS 1072 ]
  
  == Skipped tests ===============================================================
  * On CRAN (13)
  
  == Failed tests ================================================================
  -- Failure (test-slide-index.R:447:3): can generally use (tricky!) month Periods with Dates --
  `slide_index(x, i, identity, .before = months(1))` did not throw the expected error.
  -- Error (test-slide-index.R:808:3): can generally use (tricky!) month Periods with Dates --
  <slider_error_generated_endpoints_must_be_ascending/slider_error_endpoints/slider_error/rlang_error/error/condition>
  Error in `stop_slider(message, class = c(class, "slider_error_endpoints"), 
      ...)`: Endpoints generated by `.after` must be in ascending order.
  i They are not ascending at locations: 4.
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test-slide-index.R:808:2
    2. | \-testthat:::expect_condition_matching(...)
    3. |   \-testthat:::quasi_capture(...)
    4. |     +-testthat (local) .capture(...)
    5. |     | \-base::withCallingHandlers(...)
    6. |     \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. \-slider::slide_index(x, i, identity, .after = months(1))
    8.   \-slider:::slide_index_impl(...)
    9.     \-slider:::slide_index_common(...)
   10.       \-slider:::slide_index_info(...)
   11.         \-slider:::compute_ranges(...)
   12.           \-slider:::check_generated_endpoints_must_be_ascending(stops, after_arg)
   13.             \-slider:::stop_generated_endpoints_must_be_ascending(...)
   14.               \-slider:::stop_endpoints(...)
   15.                 \-slider:::stop_slider(message, class = c(class, "slider_error_endpoints"), ...)
   16.                   \-rlang::abort(message, class = c(class, "slider_error"), ...)
  
  [ FAIL 2 | WARN 0 | SKIP 13 | PASS 1072 ]
  Error: Test failures
  Execution halted