- using R version 4.5.1 Patched (2025-07-24 r88462)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.2.0-19) 14.2.0
GNU Fortran (Debian 14.2.0-19) 14.2.0
- running under: Debian GNU/Linux 13 (trixie)
- using session charset: UTF-8
- checking for file ‘RKorAPClient/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘RKorAPClient’ version ‘1.1.0’
- 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 ‘RKorAPClient’ 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 ... [3s/5s] OK
- checking whether the package can be loaded with stated dependencies ... [3s/4s] OK
- checking whether the package can be unloaded cleanly ... [3s/5s] OK
- checking whether the namespace can be loaded with stated dependencies ... [3s/3s] OK
- checking whether the namespace can be unloaded cleanly ... [3s/4s] OK
- checking loading without being on the library search path ... [4s/5s] 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 ... [18s/24s] OK
- checking Rd files ... [1s/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 ... [3s/5s] OK
- checking for unstated dependencies in ‘demo’ ... OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [13s/22s] ERROR
Running ‘testthat.R’ [13s/22s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library("testthat")
> library("RKorAPClient")
>
> # Set up keyring for testing to avoid interactive password prompts
> if (requireNamespace("keyring", quietly = TRUE)) {
+ # Use environment backend for testing to avoid password prompts
+ if (!nzchar(Sys.getenv("KEYRING_BACKEND"))) {
+ Sys.setenv("KEYRING_BACKEND" = "env")
+ }
+ # Set empty password for file backend if needed
+ if (!nzchar(Sys.getenv("KEYRING_PASS"))) {
+ Sys.setenv("KEYRING_PASS" = "")
+ }
+ }
>
> test_check("RKorAPClient")
[32m
Searching "einfache" in "" [0m [32m: 129 hits [0m [32m
[0m [32mUsing fields API: [0m [32mRetrieved page 1/3 (page 1 of 3 total) in ?s
[0m [32mUsing fields API: [0m [32mRetrieved page 2/3 (page 2 of 3 total) in ?s. ETA: 02s (2025-07-30 07:23:01)
[0m [32mUsing fields API: [0m [32mRetrieved page 3/3 (page 3 of 3 total) in ?s. ETA: 00s (2025-07-30 07:23:00)
[0m
Captured output from corpusStats with cache test:
[32mProcessed vc 1/2: "pubDate in 2020" in 0.4s
[0m [32mProcessed vc 2/2: "pubDate in 2020" in 0.3s. ETA: 00s (2025-07-30 07:23:00)
[0m [32mCompleted processing 2 virtual corpora in 00s (avg: 0.3s/item, 0 cached, 2 non-cached)
[0m
Captured output from corpusStats with long VC:
[32mProcessed vc 1/2: "pubDate in 2020" in 0.2s
[0m [32mProcessed vc 2/2: "pubDate in 2020 & textType = /.*zeitung.*/ & te..." in 0.3s. ETA: 00s (2025-07-30 07:23:01)
[0m [32mCompleted processing 2 virtual corpora in 00s (avg: 0.2s/item, 0 cached, 2 non-cached)
[0m[ FAIL 1 | WARN 0 | SKIP 76 | PASS 179 ]
══ Skipped tests (76) ══════════════════════════════════════════════════════════
• On CRAN (74): 'test-KorAPConnection.R:56:2', 'test-KorAPConnection.R:93:2',
'test-KorAPConnection.R:103:2', 'test-KorAPConnection.R:139:2',
'test-KorAPConnection.R:149:2', 'test-KorAPConnection.R:161:2',
'test-KorAPConnection.R:170:2', 'test-KorAPConnection.R:259:3',
'test-KorAPConnection.R:281:3', 'test-KorAPConnection.R:292:3',
'test-collocations.R:2:3', 'test-collocations.R:15:3',
'test-collocations.R:35:3', 'test-collocations.R:197:3',
'test-collocations.R:214:3', 'test-collocations.R:232:3',
'test-collocations.R:249:3', 'test-collocations.R:266:3',
'test-collocations.R:283:3', 'test-collocations.R:303:3',
'test-corpusQuery.R:2:3', 'test-corpusQuery.R:9:3',
'test-corpusQuery.R:21:3', 'test-corpusQuery.R:31:3',
'test-corpusQuery.R:43:3', 'test-corpusQuery.R:55:3',
'test-corpusQuery.R:62:3', 'test-corpusQuery.R:74:3',
'test-corpusQuery.R:85:3', 'test-corpusQuery.R:91:3',
'test-corpusQuery.R:99:3', 'test-corpusQuery.R:107:3',
'test-corpusQuery.R:115:3', 'test-corpusQuery.R:123:3',
'test-corpusQuery.R:129:3', 'test-corpusQuery.R:148:3',
'test-corpusQuery.R:201:3', 'test-corpusQuery.R:283:3',
'test-corpusStats-eta.R:2:3', 'test-corpusStats-eta.R:136:3',
'test-corpusStats.R:2:3', 'test-corpusStats.R:11:3',
'test-corpusStats.R:20:3', 'test-corpusStats.R:26:3',
'test-corpusquery-eta.R:2:3', 'test-corpusquery-eta.R:61:3',
'test-corpusquery-eta.R:119:3', 'test-corpusquery-eta.R:170:3',
'test-demos.R:2:3', 'test-demos.R:16:3', 'test-demos.R:31:3',
'test-demos.R:46:3', 'test-demos.R:61:3', 'test-demos.R:78:3',
'test-demos.R:94:3', 'test-demos.R:111:3', 'test-demos.R:129:3',
'test-fetch.R:2:3', 'test-fetch.R:13:3', 'test-page-numbering.R:4:3',
'test-page-numbering.R:49:3', 'test-page-numbering.R:97:3',
'test-textMetadata.R:2:3', 'test-textMetadata.R:17:3',
'test-textMetadata.R:28:3', 'test-textMetadata.R:40:3',
'test-textMetadata.R:53:3', 'test-textMetadata.R:63:3',
'test-textMetadata.R:78:3', 'test-textMetadata.R:89:3',
'test-textMetadata.R:98:3', 'test-textMetadata.R:107:3',
'test-textMetadata.R:127:3', 'test-textMetadata.R:139:3'
• is.null(kco@welcome) is TRUE (2): 'test-KorAPConnection.R:15:3',
'test-KorAPConnection.R:33:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-KorAPConnection.R:24:3'): Opening KorAPConnection with invalid apiToken fails gracefully ──
`KorAPConnection(accessToken = "test token", timeout = 3)` produced unexpected messages.
Expected match: 401|Timeout|progress
Actual values:
* Error: Request failed with status 503: Service Unavailable
* Could not connect to KorAP instance https://korap.ids-mannheim.de/
[ FAIL 1 | WARN 0 | SKIP 76 | PASS 179 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [7s/9s] OK
- checking HTML version of manual ... [1s/2s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR