The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

CRAN Package Check Results for Package klassR

Last updated on 2026-05-20 23:50:17 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.5 2.72 91.39 94.11 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.5 2.39 67.62 70.01 OK
r-devel-linux-x86_64-fedora-clang 1.0.5 150.03 OK
r-devel-linux-x86_64-fedora-gcc 1.0.5 144.26 OK
r-devel-windows-x86_64 1.0.5 5.00 138.00 143.00 OK
r-patched-linux-x86_64 1.0.5 3.14 87.28 90.42 OK
r-release-linux-x86_64 1.0.5 3.02 86.62 89.64 OK
r-release-macos-arm64 1.0.5 1.00 257.00 258.00 OK
r-release-macos-x86_64 1.0.5 2.00 325.00 327.00 OK
r-release-windows-x86_64 1.0.5 6.00 182.00 188.00 OK
r-oldrel-macos-arm64 1.0.5 1.00 230.00 231.00 OK
r-oldrel-macos-x86_64 1.0.5 3.00 386.00 389.00 OK
r-oldrel-windows-x86_64 1.0.5 7.00 206.00 213.00 OK

Check Details

Version: 1.0.5
Check: tests
Result: ERROR Running ‘testthat.R’ [60s/122s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(klassR) > > test_check("klassR") Saving _problems/test_ApplyKlass-63.R Saving _problems/test_ApplyKlass-84.R Saving _problems/test_ApplyKlass-109.R Saving _problems/test_ApplyKlass-134.R Saving _problems/test_ApplyKlass-185.R Saving _problems/test_GetKlass-99.R Connection failed with error code 404 Saving _problems/test_GetKlass-166.R [ FAIL 7 | WARN 0 | SKIP 0 | PASS 78 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_ApplyKlass.R:63:3'): Check levelCheck for numerical codes ────── Error: parse error: premature EOF {"codes":[{"code":"01","parentC (right here) ------^ Backtrace: ▆ 1. └─klassR::get_klass(6, date = "2020-01-01") at test_ApplyKlass.R:63:3 2. └─jsonlite::fromJSON(klass_text, flatten = TRUE) 3. └─jsonlite:::parse_and_simplify(...) 4. └─jsonlite:::parseJSON(txt, bigint_as_char) 5. └─jsonlite:::parse_string(txt, bigint_as_char) ── Error ('test_ApplyKlass.R:80:3'): apply_klass can return a variant classification ── Error: parse error: premature EOF {"name":"Næringsgruppering 17 (right here) ------^ Backtrace: ▆ 1. └─klassR::apply_klass(...) at test_ApplyKlass.R:80:3 2. └─klassR::get_klass(...) 3. └─klassR:::get_variant_name(variant) 4. └─jsonlite::fromJSON(variant_text, flatten = TRUE) 5. └─jsonlite:::parse_and_simplify(...) 6. └─jsonlite:::parseJSON(txt, bigint_as_char) 7. └─jsonlite:::parse_string(txt, bigint_as_char) ── Error ('test_ApplyKlass.R:102:5'): apply_klass works for variant classification with Norwegian characters in the variant name ── Error: parse error: premature EOF {"codes":[{"code":"01","parentC (right here) ------^ Backtrace: ▆ 1. └─klassR::apply_klass(...) at test_ApplyKlass.R:102:5 2. └─klassR::get_klass(...) 3. └─jsonlite::fromJSON(klass_text, flatten = TRUE) 4. └─jsonlite:::parse_and_simplify(...) 5. └─jsonlite:::parseJSON(txt, bigint_as_char) 6. └─jsonlite:::parse_string(txt, bigint_as_char) ── Error ('test_ApplyKlass.R:131:3'): Nace classification with missing formatting ── Error: parse error: premature EOF {"codes":[{"code":"01","parentC (right here) ------^ Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test_ApplyKlass.R:131: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::apply_klass(dat, classification = 6, date = "2024-01-01") 8. └─klassR::get_klass(...) 9. └─jsonlite::fromJSON(klass_text, flatten = TRUE) 10. └─jsonlite:::parse_and_simplify(...) 11. └─jsonlite:::parseJSON(txt, bigint_as_char) 12. └─jsonlite:::parse_string(txt, bigint_as_char) ── Error ('test_ApplyKlass.R:182:3'): Municipality classification with missing formatting ── Error: parse error: premature EOF {"codes":[{"code":"01","parentC (right here) ------^ Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test_ApplyKlass.R:182: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::apply_klass(dat, classification = 6, date = "2024-01-01") 8. └─klassR::get_klass(...) 9. └─jsonlite::fromJSON(klass_text, flatten = TRUE) 10. └─jsonlite:::parse_and_simplify(...) 11. └─jsonlite:::parseJSON(txt, bigint_as_char) 12. └─jsonlite:::parse_string(txt, bigint_as_char) ── Error ('test_GetKlass.R:99:3'): get_klass returns a valid variant including ones with spaces in name ── Error: parse error: premature EOF {"codes":[{"code":"01","parentC (right here) ------^ Backtrace: ▆ 1. └─klassR::get_klass(6, variant = 1616, date = "2021-01-02") at test_GetKlass.R:99:3 2. └─jsonlite::fromJSON(klass_text, flatten = TRUE) 3. └─jsonlite:::parse_and_simplify(...) 4. └─jsonlite:::parseJSON(txt, bigint_as_char) 5. └─jsonlite:::parse_string(txt, bigint_as_char) ── Error ('test_GetKlass.R:166:3'): get_klass returns valid dates for a date range ── Error: parse error: premature EOF {"codes":[{"code":"01","parentC (right here) ------^ Backtrace: ▆ 1. └─klassR::get_klass(6, variant = 1616, date = c("2020-01-01", "2024-01-02")) at test_GetKlass.R:166:3 2. └─jsonlite::fromJSON(klass_text, flatten = TRUE) 3. └─jsonlite:::parse_and_simplify(...) 4. └─jsonlite:::parseJSON(txt, bigint_as_char) 5. └─jsonlite:::parse_string(txt, bigint_as_char) [ FAIL 7 | WARN 0 | SKIP 0 | PASS 78 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.