* using log directory ‘/data/localhost/ripley/R/packages/tests-MKL/klassR.Rcheck’ * using R Under development (unstable) (2026-09-14 r90537) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 16.2.1 20260819 (Red Hat 16.2.1-2) GNU Fortran (GCC) 16.2.1 20260819 (Red Hat 16.2.1-2) * running under: Fedora Linux 44 (Server Edition) * using session charset: UTF-8 * current time: 2026-09-14 22:14:27 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘klassR/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘klassR’ version ‘1.0.7’ * 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 ‘klassR’ can be installed ... OK * checking package directory ... 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... 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 ... OK * checking Rd files ... 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... [1s/16s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [46s/106s] [46s/107s] ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(klassR) > > test_check("klassR") Saving _problems/test_ApplyKlass-134.R Saving _problems/test_ApplyKlass-185.R Saving _problems/test_GetKlass-88.R Connection failed with error code 404: Classification Variant not found with id = 1 Saving _problems/test_GetKlass-161.R [ FAIL 4 | WARN 0 | SKIP 2 | PASS 90 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • On CRAN (2): 'test_GetKlass.R:165:1', 'test_GetKlass.R:172:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── 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:88: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 = 1615, date = "2021-01-02") at test_GetKlass.R:88: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:157: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:157: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 4 | WARN 0 | SKIP 2 | PASS 90 ] Error: ! Test failures. Execution halted * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/data/localhost/ripley/R/packages/tests-MKL/klassR.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 2:30.91, 67.74 + 4.73