Running ‘testthat.R’ [5s/36s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("testthat")
  > test_check("gie")
  Loading required package: gie
  [ FAIL 1 | WARN 0 | SKIP 13 | PASS 14 ]
  
  ══ Skipped tests (13) ══════════════════════════════════════════════════════════
  • On CRAN (13): 'test-datadownloads.R:7:3', 'test-datadownloads.R:27:3',
    'test-datadownloads.R:48:3', 'test-datadownloads.R:68:3',
    'test-datadownloads.R:90:3', 'test-datadownloads.R:111:3',
    'test-datadownloads.R:133:3', 'test-datadownloads.R:157:3',
    'test-datadownloads.R:175:3', 'test-datadownloads.R:193:3',
    'test-datadownloads.R:214:3', 'test-datadownloads.R:234:3',
    'test-regular-errors.R:34:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-regular-errors.R:40:3'): warning pops up if date, from and to are set (error 2) ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `map(.x, .f, ...)`: ℹ In index: 1.
  Caused by error in `if (pages == 0 | length(raw_results[["data"]]) == 0) ...`:
  ! argument is of length zero
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...) at test-regular-errors.R:40:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─gie::gie_batchload(...)
    7. │ └─purrr::map_dfr(...)
    8. │   └─purrr::map(.x, .f, ...)
    9. │     └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
   10. │       ├─purrr:::with_indexed_errors(...)
   11. │       │ └─base::withCallingHandlers(...)
   12. │       ├─purrr:::call_with_cleanup(...)
   13. │       └─gie (local) .f(.x[[i]], ...)
   14. │         └─gie::gie_load(...)
   15. └─base::.handleSimpleError(...)
   16.   └─purrr (local) h(simpleError(msg, call))
   17.     └─cli::cli_abort(...)
   18.       └─rlang::abort(...)
  
  [ FAIL 1 | WARN 0 | SKIP 13 | PASS 14 ]
  Error: Test failures
  Execution halted