* using log directory 'd:/Rcompile/CRANpkg/local/4.6/I14Y.Rcheck' * using R Under development (unstable) (2025-07-28 r88462 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'I14Y/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'I14Y' version '0.1.5' * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'I14Y' can be installed ... OK * checking installed package size ... OK * checking package directory ... 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 ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [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 ... [3s] OK * checking Rd files ... [0s] OK * checking Rd metadata ... 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 ... [5s] ERROR Running examples in 'I14Y-Ex.R' failed The error most likely occurred in: > ### Name: i14y_get_dataset_metadata > ### Title: Get dataset full metadata by ID > ### Aliases: i14y_get_dataset_metadata > > ### ** Examples > > i14y_get_dataset_metadata(id = "02e34f85-14df-45b5-a38b-2f063c999481") Error in `httr2::req_perform()`: ! Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! Failure when receiving data from the peer [input.i14y.admin.ch]: schannel: server closed abruptly (missing close_notify) Backtrace: ▆ 1. └─I14Y::i14y_get_dataset_metadata(id = "02e34f85-14df-45b5-a38b-2f063c999481") 2. └─httr2::req_perform(req) 3. └─httr2:::handle_resp(req, resp, error_call = error_call) 4. └─rlang::cnd_signal(resp) Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [9s] ERROR Running 'testthat.R' [8s] 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 2 | WARN 0 | SKIP 0 | PASS 22 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-i14y_get_codelist.R:5:3'): i14y_get_codelist() returns a none empty data.frame ── Error in `httr2::req_perform(req)`: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! Failure when receiving data from the peer [api.i14y.admin.ch]: schannel: server closed abruptly (missing close_notify) 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_search_catalog.R:5:3'): i14y_search_catalog() returns a data.frame ── Error in `httr2::req_perform(req)`: HTTP 500 Internal Server Error. 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. └─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 2 | WARN 0 | SKIP 0 | PASS 22 ] Error: Test failures Execution halted * checking PDF version of manual ... [26s] OK * checking HTML version of manual ... [2s] OK * DONE Status: 2 ERRORs