CRAN Package Check Results for Package klassR

Last updated on 2026-02-08 07:49:49 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.4 2.82 95.17 97.99 OK
r-devel-linux-x86_64-debian-gcc 1.0.4 2.15 66.43 68.58 OK
r-devel-linux-x86_64-fedora-clang 1.0.4 145.60 OK
r-devel-linux-x86_64-fedora-gcc 1.0.4 140.57 OK
r-devel-windows-x86_64 1.0.4 6.00 136.00 142.00 OK
r-patched-linux-x86_64 1.0.4 3.67 81.84 85.51 OK
r-release-linux-x86_64 1.0.4 2.98 83.01 85.99 OK
r-release-macos-arm64 1.0.4 1.00 241.00 242.00 OK
r-release-macos-x86_64 1.0.4 2.00 393.00 395.00 OK
r-release-windows-x86_64 1.0.4 6.00 175.00 181.00 OK
r-oldrel-macos-arm64 1.0.4 1.00 252.00 253.00 OK
r-oldrel-macos-x86_64 1.0.4 3.00 320.00 323.00 OK
r-oldrel-windows-x86_64 1.0.4 6.00 216.00 222.00 ERROR

Check Details

Version: 1.0.4
Check: examples
Result: ERROR Running examples in 'klassR-Ex.R' failed The error most likely occurred in: > ### Name: get_family > ### Title: Identify corresponding family from a classification number > ### Aliases: get_family GetFamily > > ### ** Examples > > get_family(classification = 7) Error in data.frame(klass_name = dt$name, klass_nr = nums, klass_family = i, : arguments imply differing number of rows: 0, 1 Calls: get_family -> list_klass -> data.frame Execution halted Flavor: r-oldrel-windows-x86_64

Version: 1.0.4
Check: tests
Result: ERROR Running 'testthat.R' [151s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(klassR) > > test_check("klassR") Connection failed with error code 404 Saving _problems/test_ListKlass-8.R Saving _problems/test_ListKlass-14.R [ FAIL 2 | WARN 0 | SKIP 0 | PASS 91 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_ListKlass.R:6:3'): ListKlass returns a warning but still runs ── Error in `data.frame(klass_name = dt$name, klass_nr = nums, klass_family = i, klass_type = dt$classificationType)`: arguments imply differing number of rows: 0, 1 Backtrace: ▆ 1. ├─testthat::expect_warning(klass_table <- ListKlass()) at test_ListKlass.R:6: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. └─klassR:::ListKlass() 8. └─klassR::list_klass(codelists = codelists, language = language) 9. └─base::data.frame(...) ── Error ('test_ListKlass.R:14:3'): list_klass returns a list ────────────────── Error in `data.frame(klass_name = dt$name, klass_nr = nums, klass_family = i, klass_type = dt$classificationType)`: arguments imply differing number of rows: 0, 1 Backtrace: ▆ 1. └─klassR::list_klass() at test_ListKlass.R:14:3 2. └─base::data.frame(...) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 91 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64