Running ‘testthat.R’ [2s/7s]
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 20 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-i14y_get_data_element.R:5:3'): i14y_get_data_element() returns a data.frame ──
  <httr2_http_500/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
  Error in `httr2::req_perform(req)`: HTTP 500 Internal Server Error.
  Backtrace:
       ▆
    1. └─I14Y::i14y_get_data_element(...) at test-i14y_get_data_element.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_description.R:5:3'): i14y_get_dataset_description() 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_dataset_description(identifier = "SpiGes_Erhebung_Administratives") at test-i14y_get_dataset_description.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_distributions.R:5:3'): i14y_get_dataset_distributions() 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_dataset_distributions(...) at test-i14y_get_dataset_distributions.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_concept.R:5:3'): i14y_search_concept() returns a data.frame ──
  <httr2_http_500/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
  Error in `httr2::req_perform(req)`: HTTP 500 Internal Server Error.
  Backtrace:
       ▆
    1. └─I14Y::i14y_search_concept(search = "noga", page = 1, pageSize = 1) at test-i14y_search_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(...)
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 20 ]
  Error: Test failures
  Execution halted