* using log directory 'd:/Rcompile/CRANpkg/local/4.7/kvkapiR.Rcheck' * using R Under development (unstable) (2026-05-26 r90080 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * current time: 2026-05-27 07:59:19 UTC * checking for file 'kvkapiR/DESCRIPTION' ... OK * this is package 'kvkapiR' version '0.1.2' * 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 'kvkapiR' 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 ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] OK * checking whether startup messages can be suppressed ... [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 ... [1s] 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 ... [1s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [142s] ERROR Running 'testthat.R' [141s] 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. Saving _problems/test-kvk_retrieve-10.R Saving _problems/test-kvk_retrieve-11.R Saving _problems/test-kvk_retrieve-12.R 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. i No results found (HTTP 404). v Max cost: EUR 5.00 for this session Format: "summary" Records: 1 Format: "detailed" Records: 2 [ FAIL 3 | WARN 2 | SKIP 11 | PASS 171 ] ══ 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:10:3'): kvk_get_basisprofiel works with test environment ── Expected `result` to be an S3 object. Actual OO type: none. ── Failure ('test-kvk_retrieve.R:11:3'): kvk_get_basisprofiel 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:12:3'): kvk_get_basisprofiel works with test environment ── Expected `"naam" %in% names(result)` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE [ FAIL 3 | WARN 2 | SKIP 11 | PASS 171 ] Error: ! Test failures. Execution halted * checking PDF version of manual ... [19s] OK * checking HTML version of manual ... [4s] OK * DONE Status: 1 ERROR