Running 'testthat.R' [6s]
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")
  Saving _problems/test-i14y_get_concept-8.R
  Saving _problems/test-i14y_get_concept_all_versions-8.R
  Saving _problems/test-i14y_get_content_information-7.R
  Saving _problems/test-i14y_get_data_structure-7.R
  Saving _problems/test-i14y_get_dataset_metadata-7.R
  Saving _problems/test-i14y_get_nomenclature_level-9.R
  Saving _problems/test-i14y_get_nomenclature_level_multiple-10.R
  Saving _problems/test-i14y_search_catalog-5.R
  Saving _problems/test-i14y_search_concept-5.R
  Saving _problems/test-i14y_search_nomenclature-9.R
  [ FAIL 10 | WARN 0 | SKIP 0 | PASS 2 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-i14y_get_concept.R:5:3'): i14y_get_concept() returns a list ────
  <httr2_http_404/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
  Error in `httr2::req_perform(req)`: HTTP 404 Not Found.
  Backtrace:
       ▆
    1. └─I14Y::i14y_get_concept(...) at test-i14y_get_concept.R:5:3
    2.   └─httr2::req_perform(req)
    3.     └─httr2:::handle_resp(req, resp, error_call = error_call)
    4.       └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
    5.         ├─rlang::catch_cnd(...)
    6.         │ ├─rlang::eval_bare(...)
    7.         │ ├─base::tryCatch(...)
    8.         │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.         │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.         │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.         │ └─base::force(expr)
   12.         └─rlang::abort(...)
  ── Error ('test-i14y_get_concept_all_versions.R:5:3'): i14y_get_concept_all_versions() returns a data.frame ──
  <httr2_http_404/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
  Error in `httr2::req_perform(req)`: HTTP 404 Not Found.
  Backtrace:
       ▆
    1. └─I14Y::i14y_get_concept_all_versions(...) at test-i14y_get_concept_all_versions.R:5:3
    2.   └─httr2::req_perform(req)
    3.     └─httr2:::handle_resp(req, resp, error_call = error_call)
    4.       └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
    5.         ├─rlang::catch_cnd(...)
    6.         │ ├─rlang::eval_bare(...)
    7.         │ ├─base::tryCatch(...)
    8.         │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.         │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.         │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.         │ └─base::force(expr)
   12.         └─rlang::abort(...)
  ── Error ('test-i14y_get_content_information.R:5:3'): i14y_get_content_information() returns a list ──
  <httr2_http_404/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
  Error in `httr2::req_perform(req)`: HTTP 404 Not Found.
  Backtrace:
       ▆
    1. └─I14Y::i14y_get_content_information(identifier = "HCL_CH_ISCO_19_PROF") at test-i14y_get_content_information.R:5:3
    2.   └─httr2::req_perform(req)
    3.     └─httr2:::handle_resp(req, resp, error_call = error_call)
    4.       └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
    5.         ├─rlang::catch_cnd(...)
    6.         │ ├─rlang::eval_bare(...)
    7.         │ ├─base::tryCatch(...)
    8.         │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.         │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.         │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.         │ └─base::force(expr)
   12.         └─rlang::abort(...)
  ── Error ('test-i14y_get_data_structure.R:5:3'): i14y_get_data_structure() returns a data.frame ──
  <httr2_http_404/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
  Error in `httr2::req_perform(req)`: HTTP 404 Not Found.
  Backtrace:
       ▆
    1. └─I14Y::i14y_get_data_structure(identifier = "SpiGes_Erhebung_Administratives") at test-i14y_get_data_structure.R:5:3
    2.   └─httr2::req_perform(req)
    3.     └─httr2:::handle_resp(req, resp, error_call = error_call)
    4.       └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
    5.         ├─rlang::catch_cnd(...)
    6.         │ ├─rlang::eval_bare(...)
    7.         │ ├─base::tryCatch(...)
    8.         │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.         │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.         │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.         │ └─base::force(expr)
   12.         └─rlang::abort(...)
  ── Error ('test-i14y_get_dataset_metadata.R:5:3'): i14y_get_dataset_metadata() returns a list ──
  Error in `httr2::resp_body_json(req, simplifyVector = TRUE, flatten = TRUE)`: Unexpected content type "text/html".
  * Expecting type "application/json" or suffix "json".
  Backtrace:
      ▆
   1. └─I14Y::i14y_get_dataset_metadata(id = "02e34f85-14df-45b5-a38b-2f063c999481") at test-i14y_get_dataset_metadata.R:5:3
   2.   └─httr2::resp_body_json(req, simplifyVector = TRUE, flatten = TRUE)
   3.     └─httr2::resp_check_content_type(...)
   4.       └─httr2:::check_content_type(...)
   5.         └─cli::cli_abort(...)
   6.           └─rlang::abort(...)
  ── Error ('test-i14y_get_nomenclature_level.R:5:3'): i14y_get_nomenclature_level() returns a data.frame ──
  <httr2_http_404/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
  Error in `httr2::req_perform(req)`: HTTP 404 Not Found.
  Backtrace:
       ▆
    1. └─I14Y::i14y_get_nomenclature_level(...) at test-i14y_get_nomenclature_level.R:5:3
    2.   └─httr2::req_perform(req)
    3.     └─httr2:::handle_resp(req, resp, error_call = error_call)
    4.       └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
    5.         ├─rlang::catch_cnd(...)
    6.         │ ├─rlang::eval_bare(...)
    7.         │ ├─base::tryCatch(...)
    8.         │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.         │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.         │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.         │ └─base::force(expr)
   12.         └─rlang::abort(...)
  ── Error ('test-i14y_get_nomenclature_level_multiple.R:5:3'): i14y_get_nomenclature_level_multiple() returns a data.frame ──
  <httr2_http_404/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
  Error in `httr2::req_perform(req)`: HTTP 404 Not Found.
  Backtrace:
       ▆
    1. └─I14Y::i14y_get_nomenclature_level_multiple(...) at test-i14y_get_nomenclature_level_multiple.R:5:3
    2.   └─httr2::req_perform(req)
    3.     └─httr2:::handle_resp(req, resp, error_call = error_call)
    4.       └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
    5.         ├─rlang::catch_cnd(...)
    6.         │ ├─rlang::eval_bare(...)
    7.         │ ├─base::tryCatch(...)
    8.         │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.         │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.         │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.         │ └─base::force(expr)
   12.         └─rlang::abort(...)
  ── Error ('test-i14y_search_catalog.R:5:3'): i14y_search_catalog() returns a data.frame ──
  Error in `httr2::resp_body_json(req, simplifyVector = TRUE, flatten = TRUE)`: Unexpected content type "text/html".
  * Expecting type "application/json" or suffix "json".
  Backtrace:
      ▆
   1. └─I14Y::i14y_search_catalog(query = "noga", page = 1, pageSize = 1) at test-i14y_search_catalog.R:5:3
   2.   └─httr2::resp_body_json(req, simplifyVector = TRUE, flatten = TRUE)
   3.     └─httr2::resp_check_content_type(...)
   4.       └─httr2:::check_content_type(...)
   5.         └─cli::cli_abort(...)
   6.           └─rlang::abort(...)
  ── Error ('test-i14y_search_concept.R:5:3'): i14y_search_concept() returns a data.frame ──
  Error in `httr2::resp_body_json(req, simplifyVector = TRUE, flatten = TRUE)`: Unexpected content type "text/html".
  * Expecting type "application/json" or suffix "json".
  Backtrace:
      ▆
   1. └─I14Y::i14y_search_concept(page = 1, pageSize = 10) at test-i14y_search_concept.R:5:3
   2.   └─httr2::resp_body_json(req, simplifyVector = TRUE, flatten = TRUE)
   3.     └─httr2::resp_check_content_type(...)
   4.       └─httr2:::check_content_type(...)
   5.         └─cli::cli_abort(...)
   6.           └─rlang::abort(...)
  ── Error ('test-i14y_search_nomenclature.R:5:3'): i14y_search_nomenclature() returns a data.frame ──
  <httr2_http_404/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
  Error in `httr2::req_perform(req)`: HTTP 404 Not Found.
  Backtrace:
       ▆
    1. └─I14Y::i14y_search_nomenclature(...) at test-i14y_search_nomenclature.R:5:3
    2.   └─httr2::req_perform(req)
    3.     └─httr2:::handle_resp(req, resp, error_call = error_call)
    4.       └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
    5.         ├─rlang::catch_cnd(...)
    6.         │ ├─rlang::eval_bare(...)
    7.         │ ├─base::tryCatch(...)
    8.         │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.         │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.         │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   11.         │ └─base::force(expr)
   12.         └─rlang::abort(...)
  
  [ FAIL 10 | WARN 0 | SKIP 0 | PASS 2 ]
  Error:
  ! Test failures.
  Execution halted