Last updated on 2025-11-20 02:49:18 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.0.3 | 3.16 | 103.04 | 106.20 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.0.3 | 2.34 | 28.73 | 31.07 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 1.0.3 | 151.97 | OK | |||
| r-devel-linux-x86_64-fedora-gcc | 1.0.3 | 145.80 | OK | |||
| r-devel-windows-x86_64 | 1.0.3 | 7.00 | 137.00 | 144.00 | OK | |
| r-patched-linux-x86_64 | 1.0.3 | 3.72 | 34.50 | 38.22 | ERROR | |
| r-release-linux-x86_64 | 1.0.3 | 2.88 | 90.49 | 93.37 | OK | |
| r-release-macos-arm64 | 1.0.3 | OK | ||||
| r-release-macos-x86_64 | 1.0.3 | 7.00 | 442.00 | 449.00 | OK | |
| r-release-windows-x86_64 | 1.0.3 | 5.00 | 135.00 | 140.00 | OK | |
| r-oldrel-macos-arm64 | 1.0.3 | OK | ||||
| r-oldrel-macos-x86_64 | 1.0.3 | 6.00 | 417.00 | 423.00 | OK | |
| r-oldrel-windows-x86_64 | 1.0.3 | 5.00 | 219.00 | 224.00 | OK |
Version: 1.0.3
Check: examples
Result: ERROR
Running examples in ‘klassR-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: update_klass_node
> ### Title: Given a node and a graph, find the node at the end of a sequence
> ### of changes.
> ### Aliases: update_klass_node
>
> ### ** Examples
>
>
> # Build a graph directed towards the most recent codes.
> library(klassR)
> klass_131 <- klass_graph(131)
Connection failed with error code 502
Error: Argument 'txt' must be a JSON string, URL or file.
Execution halted
Flavors: r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64
Version: 1.0.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [6s/188s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(klassR)
>
> test_check("klassR")
Connection failed with error code 502
Saving _problems/test-UpdateKlass-12.R
Connection failed with error code 502
Saving _problems/test-UpdateKlass-54.R
Connection failed with error code 502
Saving _problems/test-UpdateKlass-124.R
Connection failed with error code 404
Connection failed with error code 404
Connection failed with error code 404
Saving _problems/test_ListKlass-15.R
Connection failed with error code 404
Saving _problems/test_ListKlass-18.R
[ FAIL 5 | WARN 0 | SKIP 0 | PASS 89 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-UpdateKlass.R:10:3'): update_klass gir riktig resultat ved enkle endringer ──
Error: Argument 'txt' must be a JSON string, URL or file.
Backtrace:
▆
1. └─jsonlite::fromJSON(klassR:::GetUrl2(changes_url), flatten = TRUE) at test-UpdateKlass.R:10:3
2. └─jsonlite:::stop("Argument 'txt' must be a JSON string, URL or file.")
── Error ('test-UpdateKlass.R:52:3'): update_klass gir riktig resultat ved sammenslåtte koder ──
Error: Argument 'txt' must be a JSON string, URL or file.
Backtrace:
▆
1. └─jsonlite::fromJSON(klassR:::GetUrl2(changes_url), flatten = TRUE) at test-UpdateKlass.R:52:3
2. └─jsonlite:::stop("Argument 'txt' must be a JSON string, URL or file.")
── Error ('test-UpdateKlass.R:122:3'): update_klass gir riktig resultat ved delte koder ──
Error: Argument 'txt' must be a JSON string, URL or file.
Backtrace:
▆
1. └─jsonlite::fromJSON(klassR:::GetUrl2(changes_url), flatten = TRUE) at test-UpdateKlass.R:122:3
2. └─jsonlite:::stop("Argument 'txt' must be a JSON string, URL or file.")
── Failure ('test_ListKlass.R:15:3'): list_klass returns a list ────────────────
Expected `nrow(klass_table)` > 1.
Actual comparison: 0.0 <= 1.0
Difference: -1.0 <= 0
── Failure ('test_ListKlass.R:18:3'): list_klass returns a list ────────────────
Expected `nrow(codelist_table)` > `nrow(klass_table)`.
Actual comparison: 0 <= 0
Difference: 0 <= 0
[ FAIL 5 | WARN 0 | SKIP 0 | PASS 89 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.0.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [7s/493s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(klassR)
>
> test_check("klassR")
Connection failed with error code 502
Saving _problems/test-UpdateKlass-12.R
Connection failed with error code 502
Saving _problems/test-UpdateKlass-54.R
Connection failed with error code 502
Saving _problems/test-UpdateKlass-124.R
Saving _problems/test_GetKlass-79.R
Connection failed with error code 502
Saving _problems/test_GetKlass-102.R
Connection failed with error code 404
Connection failed with error code 503
Saving _problems/test_GetKlass-166.R
Connection failed with error code 404
Connection failed with error code 404
Saving _problems/test_ListKlass-15.R
Connection failed with error code 404
Saving _problems/test_ListKlass-18.R
[ FAIL 8 | WARN 0 | SKIP 0 | PASS 86 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-UpdateKlass.R:10:3'): update_klass gir riktig resultat ved enkle endringer ──
Error: Argument 'txt' must be a JSON string, URL or file.
Backtrace:
▆
1. └─jsonlite::fromJSON(klassR:::GetUrl2(changes_url), flatten = TRUE) at test-UpdateKlass.R:10:3
2. └─jsonlite:::stop("Argument 'txt' must be a JSON string, URL or file.")
── Error ('test-UpdateKlass.R:52:3'): update_klass gir riktig resultat ved sammenslåtte koder ──
Error: Argument 'txt' must be a JSON string, URL or file.
Backtrace:
▆
1. └─jsonlite::fromJSON(klassR:::GetUrl2(changes_url), flatten = TRUE) at test-UpdateKlass.R:52:3
2. └─jsonlite:::stop("Argument 'txt' must be a JSON string, URL or file.")
── Error ('test-UpdateKlass.R:122:3'): update_klass gir riktig resultat ved delte koder ──
Error: Argument 'txt' must be a JSON string, URL or file.
Backtrace:
▆
1. └─jsonlite::fromJSON(klassR:::GetUrl2(changes_url), flatten = TRUE) at test-UpdateKlass.R:122:3
2. └─jsonlite:::stop("Argument 'txt' must be a JSON string, URL or file.")
── Error ('test_GetKlass.R:76:3'): get_klass returns a correspondence table ────
Error: lexical error: invalid char in json text.
<!DOCTYPE HTML PUBLIC "-//IETF/
(right here) ------^
Backtrace:
▆
1. └─klassR::get_klass(104, correspond = 131, date = "2015-01-01") at test_GetKlass.R:76: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:102:3'): get_klass returns a valid variant including ones with spaces in name ──
Error in `stop_quietly()`:
Backtrace:
▆
1. └─klassR::get_klass(6, variant = 1615, date = "2021-01-02") at test_GetKlass.R:102:3
2. └─klassR:::get_variant_name(variant)
3. └─klassR:::stop_quietly()
── Error ('test_GetKlass.R:166:3'): get_klass returns valid dates for a date range ──
Error in `stop_quietly()`:
Backtrace:
▆
1. └─klassR::get_klass(6, variant = 1616, date = c("2020-01-01", "2024-01-02")) at test_GetKlass.R:166:3
2. └─klassR:::stop_quietly()
── Failure ('test_ListKlass.R:15:3'): list_klass returns a list ────────────────
Expected `nrow(klass_table)` > 1.
Actual comparison: 0.0 <= 1.0
Difference: -1.0 <= 0
── Failure ('test_ListKlass.R:18:3'): list_klass returns a list ────────────────
Expected `nrow(codelist_table)` > `nrow(klass_table)`.
Actual comparison: 0 <= 0
Difference: 0 <= 0
[ FAIL 8 | WARN 0 | SKIP 0 | PASS 86 ]
Error:
! Test failures.
Execution halted
Flavor: r-patched-linux-x86_64