CRAN Package Check Results for Package RKorAPClient

Last updated on 2026-05-31 11:54:42 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.1 OK
r-devel-linux-x86_64-debian-gcc 1.2.1 9.94 86.83 96.77 OK
r-devel-linux-x86_64-fedora-clang 1.2.1 30.00 210.41 240.41 OK
r-devel-linux-x86_64-fedora-gcc 1.2.1 28.00 200.77 228.77 OK
r-devel-windows-x86_64 1.2.1 21.00 142.00 163.00 OK
r-patched-linux-x86_64 1.2.1 15.16 112.81 127.97 OK
r-release-linux-x86_64 1.2.1 13.72 117.18 130.90 ERROR
r-release-macos-arm64 1.2.1 4.00 67.00 71.00 OK
r-release-macos-x86_64 1.2.1 10.00 147.00 157.00 OK
r-release-windows-x86_64 1.2.1 20.00 408.00 428.00 OK
r-oldrel-macos-arm64 1.2.1 OK
r-oldrel-macos-x86_64 1.2.1 10.00 143.00 153.00 OK
r-oldrel-windows-x86_64 1.2.1 24.00 224.00 248.00 OK

Check Details

Version: 1.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [15s/26s] 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") Saving _problems/test-KorAPConnection-27.R <1b>[32m Searching "einfache" in ""<1b>[0mSaving _problems/test-corpusQuery-194.R Captured output from corpusStats with cache test: <1b>[32mProcessed vc 1/2: "pubDate in 2020" in 0.5s <1b>[0m<1b>[32mProcessed vc 2/2: "pubDate in 2020" in 0.3s. ETA: 00s (2026-05-30 08:30:23) <1b>[0m<1b>[32mCompleted processing 2 virtual corpora in 00s (avg: 0.4s/item, 0 cached, 2 non-cached) <1b>[0m Captured output from corpusStats with long VC: <1b>[32mProcessed vc 1/2: "pubDate in 2020" in 0.3s <1b>[0m<1b>[32mProcessed vc 2/2: "pubDate in 2020 & textType = /.*zeitung.*/ & te..." in 0.3s. ETA: 00s (2026-05-30 08:30:24) <1b>[0m<1b>[32mCompleted processing 2 virtual corpora in 00s (avg: 0.3s/item, 0 cached, 2 non-cached) <1b>[0m[ FAIL 2 | WARN 0 | SKIP 86 | PASS 261 ] ══ Skipped tests (86) ══════════════════════════════════════════════════════════ • On CRAN (84): '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-fetchAnnotations.R:2:3', 'test-fetchAnnotations.R:66:3', 'test-fetchAnnotations.R:99:3', 'test-fetchAnnotations.R:214:3', 'test-fetchAnnotations.R:263:3', 'test-fetchAnnotations.R:293:3', 'test-fetchAnnotations.R:342:3', 'test-page-numbering.R:4:3', 'test-page-numbering.R:49:3', 'test-page-numbering.R:97:3', 'test-readme-against-llm.R:172:3', 'test-readme-against-llm.R:218:3', 'test-readme-against-llm.R:260: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 400: Bad Request * Could not connect to KorAP instance https://korap.ids-mannheim.de/ ── Error ('test-corpusQuery.R:194:3'): extended metadata fields work cortrectly on instane KED ── Error in `expect_gt(nrow(df), 0)`: Result of comparison must be `TRUE`, `FALSE`, or `NA` Backtrace: ▆ 1. └─testthat::expect_gt(nrow(df), 0) at test-corpusQuery.R:194:3 2. └─testthat:::expect_compare_(">", act, exp) 3. └─cli::cli_abort(...) 4. └─rlang::abort(...) [ FAIL 2 | WARN 0 | SKIP 86 | PASS 261 ] Error: ! Test failures. Execution halted Flavor: r-release-linux-x86_64