Running ‘testthat.R’ [2s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(I14Y)
  > 
  > test_check("I14Y")
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 16 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-i14y_get_codelist.R:5:3'): i14y_get_codelist() returns a none empty data.frame ──
  <httr2_failure/httr2_error/rlang_error/error/condition>
  Error in `httr2::req_perform(req)`: Failed to perform HTTP request.
  Caused by error in `curl::curl_fetch_memory()`:
  ! Could not connect to server [api.i14y.admin.ch]:
  Failed to connect to api.i14y.admin.ch port 443 after 23 ms: Could not connect to server
  Backtrace:
      ▆
   1. └─I14Y::i14y_get_codelist(id = "08d94604-e058-62a2-aa25-53f84b974201") at test-i14y_get_codelist.R:5:3
   2.   └─httr2::req_perform(req)
   3.     └─httr2:::handle_resp(req, resp, error_call = error_call)
   4.       └─rlang::cnd_signal(resp)
  ── Error ('test-i14y_get_dataset_metadata.R:5:3'): i14y_get_dataset_metadata() returns a list ──
  <httr2_failure/httr2_error/rlang_error/error/condition>
  Error in `httr2::req_perform(req)`: Failed to perform HTTP request.
  Caused by error in `curl::curl_fetch_memory()`:
  ! Could not connect to server [input.i14y.admin.ch]:
  Failed to connect to input.i14y.admin.ch port 443 after 57 ms: Could not connect to server
  Backtrace:
      ▆
   1. └─I14Y::i14y_get_dataset_metadata(id = "02e34f85-14df-45b5-a38b-2f063c999481") at test-i14y_get_dataset_metadata.R:5:3
   2.   └─httr2::req_perform(req)
   3.     └─httr2:::handle_resp(req, resp, error_call = error_call)
   4.       └─rlang::cnd_signal(resp)
  ── Error ('test-i14y_search_catalog.R:5:3'): i14y_search_catalog() returns a data.frame ──
  <httr2_failure/httr2_error/rlang_error/error/condition>
  Error in `httr2::req_perform(req)`: Failed to perform HTTP request.
  Caused by error in `curl::curl_fetch_memory()`:
  ! Could not connect to server [input.i14y.admin.ch]:
  Failed to connect to input.i14y.admin.ch port 443 after 24 ms: Could not connect to server
  Backtrace:
      ▆
   1. └─I14Y::i14y_search_catalog(query = "noga", page = 1, pageSize = 1) at test-i14y_search_catalog.R:5:3
   2.   └─httr2::req_perform(req)
   3.     └─httr2:::handle_resp(req, resp, error_call = error_call)
   4.       └─rlang::cnd_signal(resp)
  ── Error ('test-i14y_search_concept.R:5:3'): i14y_search_concept() returns a data.frame ──
  <httr2_failure/httr2_error/rlang_error/error/condition>
  Error in `httr2::req_perform(req)`: Failed to perform HTTP request.
  Caused by error in `curl::curl_fetch_memory()`:
  ! Could not connect to server [input.i14y.admin.ch]:
  Failed to connect to input.i14y.admin.ch port 443 after 22 ms: Could not connect to server
  Backtrace:
      ▆
   1. └─I14Y::i14y_search_concept(page = 1, pageSize = 10) at test-i14y_search_concept.R:5:3
   2.   └─httr2::req_perform(req)
   3.     └─httr2:::handle_resp(req, resp, error_call = error_call)
   4.       └─rlang::cnd_signal(resp)
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 16 ]
  Error: Test failures
  Execution halted