CRAN Package Check Results for Package kvkapiR

Last updated on 2026-06-08 02:51:16 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.2 3.75 41.64 45.39 OK
r-devel-linux-x86_64-debian-gcc 0.1.2 2.88 30.56 33.44 OK
r-devel-linux-x86_64-fedora-clang 0.1.2 66.70 OK
r-devel-linux-x86_64-fedora-gcc 0.1.2 65.62 OK
r-devel-windows-x86_64 0.1.2 6.00 62.00 68.00 OK
r-patched-linux-x86_64 0.1.2 3.31 37.73 41.04 OK
r-release-linux-x86_64 0.1.2 2.79 37.95 40.74 OK
r-release-macos-arm64 0.1.2 1.00 22.00 23.00 OK
r-release-macos-x86_64 0.1.2 3.00 58.00 61.00 OK
r-release-windows-x86_64 0.1.2 6.00 571.00 577.00 ERROR
r-oldrel-macos-arm64 0.1.2 OK
r-oldrel-macos-x86_64 0.1.2 3.00 38.00 41.00 OK
r-oldrel-windows-x86_64 0.1.2 7.00 73.00 80.00 OK

Check Details

Version: 0.1.2
Check: tests
Result: ERROR Running 'testthat.R' [514s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for packages that use 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(kvkapiR) > > test_check("kvkapiR") v KVK_API_KEY has been set for this session. i You are using the KvK test environment. Test data will be returned. i You are using the KvK test environment. Test data will be returned. i You are using the KvK test environment. Test data will be returned. Saving _problems/test-kvk_retrieve-100.R Saving _problems/test-kvk_retrieve-101.R Saving _problems/test-kvk_retrieve-102.R Saving _problems/test-kvk_search-8.R i No results found (HTTP 404). v Max cost: EUR 5.00 for this session Format: "summary" Records: 1 Format: "detailed" Records: 2 [ FAIL 4 | WARN 1 | SKIP 11 | PASS 169 ] ══ Skipped tests (11) ══════════════════════════════════════════════════════════ • API key not available (3): 'test-kvk_retrieve.R:78:3', 'test-list-to-tibble-robustness.R:71:3', 'test-list-to-tibble-robustness.R:101:3' • API key not available for usage tracking tests (4): 'test-utils-usage-tracking.R:89:3', 'test-utils-usage-tracking.R:116:3', 'test-utils-usage-tracking.R:330:3', 'test-utils-usage-tracking.R:419:3' • Complex mocking required for httr2 responses (1): 'test-ipd-error-handling.R:44:3' • No API key available (1): 'test-ipd-error-handling.R:60:3' • No API key available for testing (2): 'test-kvk_search.R:32:3', 'test-kvk_search.R:64:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-kvk_retrieve.R:100:3'): kvk_get_naamgeving works with test environment ── Expected `result` to be an S3 object. Actual OO type: none. ── Failure ('test-kvk_retrieve.R:101:3'): kvk_get_naamgeving works with test environment ── Expected `result$kvkNummer` to equal "68750110". Differences: `actual` is NULL `expected` is a character vector ('68750110') ── Failure ('test-kvk_retrieve.R:102:3'): kvk_get_naamgeving works with test environment ── Expected `"naam" %in% names(result)` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE ── Error ('test-kvk_search.R:5:3'): kvk_search works with test environment ───── Error in `value[[3L]](cond)`: Failed to perform HTTP request. Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-kvk_search.R:5:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─kvkapiR::kvk_search(plaats = "Utrecht", test_environment = TRUE) 8. └─base::tryCatch(...) 9. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. └─value[[3L]](cond) 12. └─cli::cli_abort(e$message) 13. └─rlang::abort(...) [ FAIL 4 | WARN 1 | SKIP 11 | PASS 169 ] Error: ! Test failures. Execution halted Flavor: r-release-windows-x86_64