Running 'testthat.R' [27s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library("testthat")
  > test_check("giedata")
  Loading required package: giedata
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 14 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-regular-errors.R:28:3'): warning pops up if date, from and to are set ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [agsi.gie.eu] SSL/TLS connection timeout
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...) at test-regular-errors.R:28:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─giedata::get_giedata(...)
    7.   └─giedata:::getrequest(...)
    8.     └─giedata:::send_getrequest(url = url, apikey = apikey)
    9.       └─httr::GET(url, httr::add_headers(`x-key` = apikey))
   10.         └─httr:::request_perform(req, hu$handle$handle)
   11.           ├─httr:::request_fetch(req$output, req$url, handle)
   12.           └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   13.             └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-regular-errors.R:40:3'): warning pops up if date, from and to are set ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `map(.x, .f, ...)`: ℹ In index: 1.
  Caused by error in `curl::curl_fetch_memory()`:
  ! Timeout was reached: [agsi.gie.eu] SSL/TLS connection timeout
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...) at test-regular-errors.R:40:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─giedata::get_giedata2(...)
    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. │       └─giedata (local) .f(.x[[i]], ...)
   14. │         └─giedata::get_giedata(...)
   15. │           └─giedata:::getrequest(...)
   16. │             └─giedata:::send_getrequest(url = url, apikey = apikey)
   17. │               └─httr::GET(url, httr::add_headers(`x-key` = apikey))
   18. │                 └─httr:::request_perform(req, hu$handle$handle)
   19. │                   ├─httr:::request_fetch(req$output, req$url, handle)
   20. │                   └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   21. │                     └─curl::curl_fetch_memory(url, handle = handle)
   22. └─base::.handleSimpleError(...)
   23.   └─purrr (local) h(simpleError(msg, call))
   24.     └─cli::cli_abort(...)
   25.       └─rlang::abort(...)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 14 ]
  Error: Test failures
  Execution halted