Last updated on 2025-10-27 19:53:03 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.0.2 | 2.96 | 96.21 | 99.17 | ERROR | |
| r-devel-linux-x86_64-debian-gcc | 1.0.3 | 2.25 | 27.61 | 29.86 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 1.0.3 | 12.00 | 149.83 | 161.83 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 1.0.3 | 77.03 | OK | |||
| r-devel-windows-x86_64 | 1.0.2 | 5.00 | 136.00 | 141.00 | ERROR | |
| r-patched-linux-x86_64 | 1.0.2 | 3.42 | 90.71 | 94.13 | ERROR | |
| r-release-linux-x86_64 | 1.0.3 | 3.14 | 92.30 | 95.44 | OK | |
| r-release-macos-arm64 | 1.0.3 | 2.00 | 278.00 | 280.00 | 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 | 196.00 | 201.00 | OK | |
| r-oldrel-macos-arm64 | 1.0.3 | 2.00 | 279.00 | 281.00 | OK | |
| r-oldrel-macos-x86_64 | 1.0.3 | 6.00 | 417.00 | 423.00 | OK | |
| r-oldrel-windows-x86_64 | 1.0.3 | 6.00 | 228.00 | 234.00 | OK |
Version: 1.0.2
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)
Error in `FUN()`:
! Error: Logical index length does not match the number of edges.
Recycling is not allowed.
Backtrace:
▆
1. └─klassR::klass_graph(131)
2. ├─igraph::reverse_edges(...)
3. │ └─igraph:::as_igraph_es(graph, eids)
4. ├─igraph::E(graph)[igraph::E(graph)$changeOccurred > date]
5. └─igraph:::`[.igraph.es`(...)
6. └─base::lapply(...)
7. └─igraph (local) FUN(X[[i]], ...)
8. └─cli::cli_abort("Error: Logical index length does not match the number of edges. Recycling is not allowed.")
9. └─rlang::abort(...)
Execution halted
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
get_family 0.381 0.033 6.079
Flavor: r-devel-linux-x86_64-debian-clang
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: apply_klass
> ### Title: Match and convert a classification
> ### Aliases: apply_klass ApplyKlass
>
> ### ** Examples
>
> data(klassdata)
> kommune_names <- apply_klass(
+ x = klassdata$kommune,
+ classification = 131,
+ language = "en",
+ format = FALSE
+ )
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.0.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [5s/8s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(klassR)
>
> test_check("klassR")
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
[ FAIL 35 | WARN 0 | SKIP 0 | PASS 31 ]
══ 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_ApplyKlass.R:3:3'): apply_klass returns correct names for numeric codes ──
Error in `stop_quietly()`:
Backtrace:
▆
1. └─klassR::apply_klass(...) at test_ApplyKlass.R:3:3
2. └─klassR::get_klass(...)
3. └─klassR:::stop_quietly()
── Error ('test_ApplyKlass.R:14:3'): apply_klass returns correct names for numeric codes ──
Error in `stop_quietly()`:
Backtrace:
▆
1. └─klassR::apply_klass(...) at test_ApplyKlass.R:14:3
2. └─klassR::get_klass(...)
3. └─klassR:::stop_quietly()
── Error ('test_ApplyKlass.R:24:3'): apply_klass returns correct names for character codes ──
Error in `stop_quietly()`:
Backtrace:
▆
1. └─klassR::apply_klass(...) at test_ApplyKlass.R:24:3
2. └─klassR::get_klass(...)
3. └─klassR:::stop_quietly()
── Error ('test_ApplyKlass.R:34:3'): apply_klass returns correct language ──────
Error in `stop_quietly()`:
Backtrace:
▆
1. └─klassR::apply_klass(...) at test_ApplyKlass.R:34:3
2. └─klassR::get_klass(...)
3. └─klassR:::stop_quietly()
── Error ('test_ApplyKlass.R:55:3'): apply_klass returns correctly for character codes ──
Error in `stop_quietly()`:
Backtrace:
▆
1. └─klassR::apply_klass(sektor, 39, date = "2020-01-01") at test_ApplyKlass.R:55:3
2. └─klassR::get_klass(...)
3. └─klassR:::stop_quietly()
── Error ('test_ApplyKlass.R:61:3'): Check levelCheck for numerical codes ──────
Error in `stop_quietly()`:
Backtrace:
▆
1. └─klassR::get_klass(7, date = "2020-01-01") at test_ApplyKlass.R:61:3
2. └─klassR:::stop_quietly()
── Error ('test_ApplyKlass.R:71:3'): Check levelCheck for character codes ──────
Error in `stop_quietly()`:
Backtrace:
▆
1. └─klassR::get_klass(39, date = "2020-01-01") at test_ApplyKlass.R:71:3
2. └─klassR:::stop_quietly()
── Error ('test_ApplyKlass.R:81:3'): apply_klass can return a variant classification ──
Error in `stop_quietly()`:
Backtrace:
▆
1. └─klassR::apply_klass(...) at test_ApplyKlass.R:81:3
2. └─klassR::get_klass(...)
3. └─klassR:::get_variant_name(variant)
4. └─klassR:::stop_quietly()
── Error ('test_ApplyKlass.R:103:5'): apply_klass works for variant classification with Norwegian characters in the variant name ──
Error in `stop_quietly()`:
Backtrace:
▆
1. └─klassR::apply_klass(...) at test_ApplyKlass.R:103:5
2. └─klassR::get_klass(...)
3. └─klassR:::get_variant_name(variant)
4. └─klassR:::stop_quietly()
── Error ('test_ApplyKlass.R:123:3'): apply_klass works for classifications with varying number of digits ──
Error in `stop_quietly()`:
Backtrace:
▆
1. └─klassR::apply_klass(dat, classification = 270, date = "2024-01-01") at test_ApplyKlass.R:123:3
2. └─klassR::get_klass(...)
3. └─klassR:::stop_quietly()
── Error ('test_ApplyKlass.R:132:3'): Nace classification with missing formatting ──
Error in `stop_quietly()`:
Backtrace:
▆
1. ├─testthat::expect_warning(...) at test_ApplyKlass.R:132: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. └─klassR:::stop_quietly()
── Error ('test_ApplyKlass.R:166:3'): Municipality classification with missing formatting ──
Error in `stop_quietly()`:
Backtrace:
▆
1. ├─testthat::expect_warning(...) at test_ApplyKlass.R:166: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 = 131, date = "2024-01-01")
8. └─klassR::get_klass(...)
9. └─klassR:::stop_quietly()
── Error ('test_ApplyKlass.R:196:3'): apply_klass works for classifications with varying digits and letters ──
Error in `stop_quietly()`:
Backtrace:
▆
1. └─klassR::apply_klass(dat, classification = 270, date = "2024-01-01") at test_ApplyKlass.R:196:3
2. └─klassR::get_klass(...)
3. └─klassR:::stop_quietly()
── Error ('test_GetKlass.R:4:3'): get_klass returns a classification ───────────
Error in `stop_quietly()`:
Backtrace:
▆
1. └─klassR::get_klass(131, date = "2015-01-01") at test_GetKlass.R:4:3
2. └─klassR:::stop_quietly()
── Error ('test_GetKlass.R:10:3'): get_klass returns a classification with Norwegian letters ──
Error in `stop_quietly()`:
Backtrace:
▆
1. └─klassR::get_klass(131, date = "2015-01-01") at test_GetKlass.R:10:3
2. └─klassR:::stop_quietly()
── Error ('test_GetKlass.R:16:3'): get_klass returns no error when no date given ──
Error in `stop_quietly()`:
Backtrace:
▆
1. ├─testthat::expect_type(get_klass(131), type = "list") at test_GetKlass.R:16:3
2. │ └─testthat::quasi_label(enquo(object), arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─klassR::get_klass(131)
5. └─klassR:::stop_quietly()
── Error ('test_GetKlass.R:41:3'): get_klass returns changes when two dates given ──
Error in `stop_quietly()`:
Backtrace:
▆
1. └─klassR::get_klass(131, date = c("2022-01-01", "2023-01-01")) at test_GetKlass.R:41:3
2. └─klassR:::stop_quietly()
── Error ('test_GetKlass.R:48:3'): get_klass returns classifications with future date ──
Error in `stop_quietly()`:
Backtrace:
▆
1. ├─testthat::expect_message(...) at test_GetKlass.R:48: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::get_klass(2, date = "2100-01-01")
8. └─klassR:::stop_quietly()
── Error ('test_GetKlass.R:57:3'): get_klass returns correct output level ──────
Error in `stop_quietly()`:
Backtrace:
▆
1. └─klassR::get_klass(7, date = "2024-01-01", output_level = 1) at test_GetKlass.R:57:3
2. └─klassR:::stop_quietly()
── Error ('test_GetKlass.R:67:3'): get_klass returns english language ──────────
Error in `stop_quietly()`:
Backtrace:
▆
1. └─klassR::get_klass(2, date = "2024-01-01", language = "en") at test_GetKlass.R:67:3
2. └─klassR:::stop_quietly()
── Error ('test_GetKlass.R:76:3'): get_klass returns a correspondence table ────
<curl_error_ssl_connect_error/curl_error/error/condition>
Error in `curl::curl_fetch_memory(url, handle = handle)`: SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
Backtrace:
▆
1. ├─klassR::get_klass(104, correspond = 131, date = "2015-01-01") at test_GetKlass.R:76:3
2. │ └─klassR:::GetUrl2(url, check = FALSE)
3. │ └─httr::GET(url = url)
4. │ └─httr:::request_perform(req, hu$handle$handle)
5. │ ├─httr:::request_fetch(req$output, req$url, handle)
6. │ └─httr:::request_fetch.write_memory(req$output, req$url, handle)
7. │ └─curl::curl_fetch_memory(url, handle = handle)
8. └─curl:::raise_libcurl_error(...)
── Error ('test_GetKlass.R:85:3'): get_klass returns a correspondence table in both directions ──
<curl_error_ssl_connect_error/curl_error/error/condition>
Error in `curl::curl_fetch_memory(url, handle = handle)`: SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
Backtrace:
▆
1. ├─klassR::get_klass(104, correspond = 131, date = "2020-02-01") at test_GetKlass.R:85:3
2. │ └─klassR:::GetUrl2(url, check = FALSE)
3. │ └─httr::GET(url = url)
4. │ └─httr:::request_perform(req, hu$handle$handle)
5. │ ├─httr:::request_fetch(req$output, req$url, handle)
6. │ └─httr:::request_fetch.write_memory(req$output, req$url, handle)
7. │ └─curl::curl_fetch_memory(url, handle = handle)
8. └─curl:::raise_libcurl_error(...)
── Error ('test_GetKlass.R:99:3'): get_klass returns a valid variant including ones with spaces in name ──
Error in `stop_quietly()`:
Backtrace:
▆
1. └─klassR::get_klass(6, variant = 1616, date = "2021-01-02") at test_GetKlass.R:99:3
2. └─klassR:::get_variant_name(variant)
3. └─klassR:::stop_quietly()
── Error ('test_GetKlass.R:107:3'): get_klass returns a correspondence table ───
<curl_error_ssl_connect_error/curl_error/error/condition>
Error in `curl::curl_fetch_memory(url, handle = handle)`: SSL connect error [data.ssb.no]:
TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
Backtrace:
▆
1. ├─klassR::get_klass(131, correspond = 127, date = "2024-01-02") at test_GetKlass.R:107:3
2. │ └─klassR:::GetUrl2(url, check = FALSE)
3. │ └─httr::GET(url = url)
4. │ └─httr:::request_perform(req, hu$handle$handle)
5. │ ├─httr:::request_fetch(req$output, req$url, handle)
6. │ └─httr:::request_fetch.write_memory(req$output, req$url, handle)
7. │ └─curl::curl_fetch_memory(url, handle = handle)
8. └─curl:::raise_libcurl_error(...)
── Error ('test_GetKlass.R:116:3'): get_klass returns a correspondent using ID ──
Error in `stop_quietly()`:
Backtrace:
▆
1. ├─testthat::expect_message(...) at test_GetKlass.R:116: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::get_klass(correspondID = 1441, date = "2024-01-02")
8. └─klassR:::stop_quietly()
── Error ('test_GetKlass.R:145:3'): get_klass returns notes when requested ─────
Error in `stop_quietly()`:
Backtrace:
▆
1. └─klassR::get_klass(277, notes = TRUE, date = "2023-01-12") at test_GetKlass.R:145:3
2. └─klassR:::stop_quietly()
── Error ('test_GetKlass.R:152:3'): get_klass returns a future classification ──
Error in `stop_quietly()`:
Backtrace:
▆
1. ├─testthat::expect_message(classdata <- get_klass(104, date = "2050-01-01")) at test_GetKlass.R:152: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::get_klass(104, date = "2050-01-01")
8. └─klassR:::stop_quietly()
── Error ('test_GetKlass.R:158:3'): get_klass returns a correspondence table using ID ──
Error in `stop_quietly()`:
Backtrace:
▆
1. ├─testthat::expect_message(...) at test_GetKlass.R:158: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::get_klass(correspondID = 1111, date = "2023-01-12")
8. └─klassR:::stop_quietly()
── Error ('test_GetKlass.R:163:3'): get_klass returns valid dates for a date range ──
Error in `stop_quietly()`:
Backtrace:
▆
1. └─klassR::get_klass(131, date = c("2020-01-01", "2024-01-02")) at test_GetKlass.R:163:3
2. └─klassR:::stop_quietly()
── Failure ('test_ListKlass.R:15:3'): list_klass returns a list ────────────────
nrow(klass_table) is not strictly more than 1. Difference: -1
── Failure ('test_ListKlass.R:18:3'): list_klass returns a list ────────────────
nrow(codelist_table) is not strictly more than nrow(klass_table). Difference: 0
── Error ('test_ListKlass.R:24:3'): search_klass returns searches ──────────────
Error in `expect_in("Standard for kommuneinndeling", komm_search$klass_name)`: `object` and `expected` must both be vectors
Backtrace:
▆
1. └─testthat::expect_in("Standard for kommuneinndeling", komm_search$klass_name) at test_ListKlass.R:24:3
2. └─rlang::abort("`object` and `expected` must both be vectors")
[ FAIL 35 | WARN 0 | SKIP 0 | PASS 31 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.0.2
Check: examples
Result: ERROR
Running examples in 'klassR-Ex.R' failed
The error most likely occurred in:
> ### 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)
Error in `FUN()`:
! Error: Logical index length does not match the number of edges.
Recycling is not allowed.
Backtrace:
▆
1. └─klassR::klass_graph(131)
2. ├─igraph::reverse_edges(...)
3. │ └─igraph:::as_igraph_es(graph, eids)
4. ├─igraph::E(graph)[igraph::E(graph)$changeOccurred > date]
5. └─igraph:::`[.igraph.es`(...)
6. └─base::lapply(...)
7. └─igraph (local) FUN(X[[i]], ...)
8. └─cli::cli_abort("Error: Logical index length does not match the number of edges. Recycling is not allowed.")
9. └─rlang::abort(...)
Execution halted
Flavor: r-devel-windows-x86_64
Version: 1.0.2
Check: tests
Result: ERROR
Running 'testthat.R' [71s]
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 500
[ 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)`: `object` and `expected` must both be vectors
Backtrace:
▆
1. └─testthat::expect_in("Standard for kommuneinndeling", komm_search$klass_name) at test_ListKlass.R:24:3
2. └─rlang::abort("`object` and `expected` must both be vectors")
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 94 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64
Version: 1.0.2
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)
Error in `FUN()`:
! Error: Logical index length does not match the number of edges.
Recycling is not allowed.
Backtrace:
▆
1. └─klassR::klass_graph(131)
2. ├─igraph::reverse_edges(...)
3. │ └─igraph:::as_igraph_es(graph, eids)
4. ├─igraph::E(graph)[igraph::E(graph)$changeOccurred > date]
5. └─igraph:::`[.igraph.es`(...)
6. └─base::lapply(...)
7. └─igraph (local) FUN(X[[i]], ...)
8. └─cli::cli_abort("Error: Logical index length does not match the number of edges. Recycling is not allowed.")
9. └─rlang::abort(...)
Execution halted
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
get_family 0.325 0 5.681
Flavor: r-patched-linux-x86_64