- using R version 4.5.2 Patched (2025-11-30 r89083)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.3.0-10) 14.3.0
GNU Fortran (Debian 14.3.0-10) 14.3.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘I14Y/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘I14Y’ version ‘0.1.7’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘I14Y’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/1s] OK
- checking loading without being on the library search path ... [0s/1s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [4s/6s] OK
- checking Rd files ... [0s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking examples ... [2s/4s] ERROR
Running examples in ‘I14Y-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: i14y_get_concept
> ### Title: Get Concept view entity by ID
> ### Aliases: i14y_get_concept
>
> ### ** Examples
>
> i14y_get_concept(
+ id = "08d94604-e058-62a2-aa25-53f84b974201", # DV_NOGA_DIVISION
+ language = "en"
+ )
Error in `httr2::req_perform()`:
! HTTP 404 Not Found.
Backtrace:
▆
1. └─I14Y::i14y_get_concept(...)
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(...)
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [4s/7s] ERROR
Running ‘testthat.R’ [4s/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")
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
- checking PDF version of manual ... [4s/5s] OK
- checking HTML version of manual ... [0s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs