- using R Under development (unstable) (2026-06-09 r90126)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-16 (Debian 16.1.0-1) 16.1.0
GNU Fortran (Debian 16.1.0-1) 16.1.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-06-10 15:27:58 UTC
- checking for file ‘kvkapiR/DESCRIPTION’ ... OK
- this is package ‘kvkapiR’ version ‘0.1.2’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [2s/2s] OK
- 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 ‘kvkapiR’ 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 ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the package can be unloaded cleanly ... [0s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] OK
- checking whether startup messages can be suppressed ... [1s/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/0s] 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 ... [1s/1s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [5s/9s] ERROR
Running ‘testthat.R’ [5s/8s]
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.
Saving _problems/test-kvk_retrieve-30.R
Saving _problems/test-kvk_retrieve-100.R
Saving _problems/test-kvk_retrieve-101.R
Saving _problems/test-kvk_retrieve-102.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 7 | WARN 6 | SKIP 11 | PASS 166 ]
══ 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
── Failure ('test-kvk_retrieve.R:30:3'): kvk_get_basisprofiel handles geoData parameter ──
Expected `result` to be an S3 object.
Actual OO type: none.
── 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
[ FAIL 7 | WARN 6 | SKIP 11 | PASS 166 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [3s/4s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR