CRAN Package Check Results for Maintainer ‘Susie Jentoft <susie.jentoft at ssb.no>’

Last updated on 2026-01-24 10:49:24 CET.

Package ERROR OK
klassR 2 11

Package klassR

Current CRAN status: ERROR: 2, OK: 11

Version: 1.0.4
Check: tests
Result: ERROR Running 'testthat.R' [72s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(klassR) > > test_check("klassR") Connection failed with error code 404 Connection failed with error code 400 Saving _problems/test_ListKlass-24.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 94 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_ListKlass.R:24:3'): search_klass returns searches ────────────── Error in `expect_in("Standard for kommuneinndeling", komm_search$klass_name)`: `expected` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_in(expected = komm_search$klass_name) at test_ListKlass.R:24:3 2. └─testthat:::check_vector(exp$val, error_arg = "expected") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 94 ] Error: ! Test failures. Execution halted Flavor: r-release-windows-x86_64

Version: 1.0.4
Check: tests
Result: ERROR Running 'testthat.R' [147s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(klassR) > > test_check("klassR") Connection failed with error code 404 Connection failed with error code 400 Saving _problems/test_ListKlass-24.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 94 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_ListKlass.R:24:3'): search_klass returns searches ────────────── Error in `expect_in("Standard for kommuneinndeling", komm_search$klass_name)`: `expected` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_in(expected = komm_search$klass_name) at test_ListKlass.R:24:3 2. └─testthat:::check_vector(exp$val, error_arg = "expected") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 94 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64