Last updated on 2025-10-17 12:49:19 CEST.
Package | ERROR | OK |
---|---|---|
klassR | 6 | 7 |
Current CRAN status: ERROR: 6, OK: 7
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.332 0.004 5.684
Flavor: r-devel-linux-x86_64-debian-clang
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.223 0.005 5.772
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
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, 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.385 0.01 6.055
Flavor: r-patched-linux-x86_64