- using R Under development (unstable) (2025-10-13 r88918)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘SEMID/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘SEMID’ version ‘0.4.1’
- 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 ‘SEMID’ can be installed ... [10s/21s] OK
See the install log for details.
- 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 ... [20s/53s] 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 examples ... [7s/19s] ERROR
Running examples in ‘SEMID-Ex.R’ failed
The error most likely occurred in:
> ### Name: SEMID-package
> ### Title: SEMID package documentation.
> ### Aliases: SEMID-package SEMID
>
> ### ** Examples
>
> ###
> # Checking the generic identifiability of parameters in a mixed graph.
> ###
>
> # Mixed graphs are specified by their directed adjacency matrix L and
> # bidirected adjacency matrix O.
> L = t(matrix(
+ c(0, 1, 1, 0, 0,
+ 0, 0, 1, 1, 1,
+ 0, 0, 0, 1, 0,
+ 0, 0, 0, 0, 1,
+ 0, 0, 0, 0, 0), 5, 5))
>
> O = t(matrix(
+ c(0, 0, 0, 1, 0,
+ 0, 0, 1, 0, 1,
+ 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0), 5, 5)); O=O+t(O)
>
> # Create a mixed graph object
> graph = MixedGraph(L, O)
>
> # We can plot what this mixed graph looks like, blue edges are directed
> # red edges are bidirected.
> plot(graph)
>
> # Without using decomposition techniques we can't identify all nodes
> # just using the half-trek criterion
> htcID(graph, tianDecompose = FALSE)
Warning: The `vp` argument of `get_edge_ids()` supplied as a matrix should be a n times
2 matrix, not 2 times n as of igraph 2.1.5.
ℹ either transpose the matrix with t() or convert it to a data.frame with two
columns.
ℹ The deprecated feature was likely used in the igraph package.
Please report the issue at <https://github.com/igraph/rigraph/issues>.
Call: htcID(mixedGraph = graph, tianDecompose = FALSE)
Mixed Graph Info.
# nodes: 5
# dir. edges: 7
# bi. edges: 3
Generic Identifiability Summary
# dir. edges shown gen. identifiable: 1
# bi. edges shown gen. identifiable: 0
Generically identifiable dir. edges:
1->2
Generically identifiable bi. edges:
None
>
> # The edgewiseTSID function can show that all edges are generically
> # identifiable without proprocessing with decomposition techniques
> edgewiseTSID(graph, tianDecompose = FALSE)
Error:
! The `vp` argument of `get_edge_ids()` is not allowed to be a 2 times 2
matrix as of igraph 2.1.5.
Backtrace:
▆
1. └─SEMID::edgewiseTSID(graph, tianDecompose = FALSE)
2. └─SEMID::generalGenericID(...)
3. └─SEMID (local) idStepFunction(mixedGraph, unsolvedParents, solvedParents, identifier)
4. └─SEMID::trekSeparationIdentifyStep(...)
5. └─mixedGraph$getTrekSystem(sources, c(targets, i), avoidRightEdges = toRemoveOnRight)
6. ├─SEMID::getTrekSystem(this, ...)
7. └─SEMID:::getTrekSystem.MixedGraph(this, ...)
8. └─this$.internalGraph$getTrekSystem(...)
9. ├─SEMID::getTrekSystem(this, ...)
10. └─SEMID:::getTrekSystem.LatentDigraph(this, ...)
11. └─this$.internalGraph$getTrekSystem(...)
12. ├─SEMID::getTrekSystem(this, ...)
13. └─SEMID:::getTrekSystem.LatentDigraphFixedOrder(this, ...)
14. └─this$.trekFlowGraph$updateEdgeCapacities(...)
15. ├─SEMID::updateEdgeCapacities(this, ...)
16. └─SEMID:::updateEdgeCapacities.FlowGraph(this, ...)
17. └─igraph::get.edge.ids(...)
18. └─igraph::get_edge_ids(...)
19. └─igraph:::el_to_vec(vp, call = rlang::caller_env())
20. └─lifecycle::deprecate_stop("2.1.5", "get_edge_ids(vp = 'is not allowed to be a 2 times 2 matrix')")
21. └─lifecycle:::deprecate_stop0(msg)
22. └─rlang::cnd_signal(...)
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [89s/246s] ERROR
Running ‘testthat.R’ [89s/244s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(SEMID)
>
> test_check("SEMID")
[ FAIL 7 | WARN 11 | SKIP 0 | PASS 965 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_LatentDigraph.R:67:3'): Single node graph works properly ───────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: The `vp` argument of `get_edge_ids()` is not allowed to be a 2 times 2
matrix as of igraph 2.1.5.
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test_LatentDigraph.R:67:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─g$getTrekSystem(1, 1)
5. ├─SEMID::getTrekSystem(this, ...)
6. └─SEMID:::getTrekSystem.LatentDigraph(this, ...)
7. └─this$.internalGraph$getTrekSystem(...)
8. ├─SEMID::getTrekSystem(this, ...)
9. └─SEMID:::getTrekSystem.LatentDigraphFixedOrder(this, ...)
10. └─this$createTrekFlowGraph()
11. ├─SEMID::createTrekFlowGraph(this, ...)
12. └─SEMID:::createTrekFlowGraph.LatentDigraphFixedOrder(this, ...)
13. └─SEMID::FlowGraph(adjMat, 1, adjMat)
14. └─igraph::get.edge.ids(flowGraph, rbind(1:m, 1:m + m))
15. └─igraph::get_edge_ids(...)
16. └─igraph:::el_to_vec(vp, call = rlang::caller_env())
17. └─lifecycle::deprecate_stop("2.1.5", "get_edge_ids(vp = 'is not allowed to be a 2 times 2 matrix')")
18. └─lifecycle:::deprecate_stop0(msg)
19. └─rlang::cnd_signal(...)
── Error ('test_ancestral.R:19:17'): Ancestral identification does not identify edges erroneously. ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: The `vp` argument of `get_edge_ids()` is not allowed to be a 2 times 2
matrix as of igraph 2.1.5.
Backtrace:
▆
1. └─SEMID::ancestralID(g) at test_ancestral.R:19:17
2. └─SEMID::generalGenericID(...)
3. └─SEMID::generalGenericID(...)
4. └─SEMID (local) idStepFunction(mixedGraph, unsolvedParents, solvedParents, identifier)
5. └─tianAncGraph$getHalfTrekSystem(allowedNodes, nodeParents)
6. ├─SEMID::getHalfTrekSystem(this, ...)
7. └─SEMID:::getHalfTrekSystem.MixedGraph(this, ...)
8. └─this$getTrekSystem(...)
9. ├─SEMID::getTrekSystem(this, ...)
10. └─SEMID:::getTrekSystem.MixedGraph(this, ...)
11. └─this$.internalGraph$getTrekSystem(...)
12. ├─SEMID::getTrekSystem(this, ...)
13. └─SEMID:::getTrekSystem.LatentDigraph(this, ...)
14. └─this$.internalGraph$getTrekSystem(...)
15. ├─SEMID::getTrekSystem(this, ...)
16. └─SEMID:::getTrekSystem.LatentDigraphFixedOrder(this, ...)
17. └─this$.trekFlowGraph$updateEdgeCapacities(...)
18. ├─SEMID::updateEdgeCapacities(this, ...)
19. └─SEMID:::updateEdgeCapacities.FlowGraph(this, ...)
20. └─igraph::get.edge.ids(...)
21. └─igraph::get_edge_ids(...)
22. └─igraph:::el_to_vec(vp, call = rlang::caller_env())
23. └─lifecycle::deprecate_stop("2.1.5", "get_edge_ids(vp = 'is not allowed to be a 2 times 2 matrix')")
24. └─lifecycle:::deprecate_stop0(msg)
25. └─rlang::cnd_signal(...)
── Error ('test_ancestral.R:44:17'): Old and new ancestralID implementations agree. ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: The `vp` argument of `get_edge_ids()` is not allowed to be a 2 times 2
matrix as of igraph 2.1.5.
Backtrace:
▆
1. └─SEMID::ancestralID(MixedGraph(L, O)) at test_ancestral.R:44:17
2. └─SEMID::generalGenericID(...)
3. └─SEMID::generalGenericID(...)
4. └─SEMID (local) idStepFunction(mixedGraph, unsolvedParents, solvedParents, identifier)
5. └─tianAncGraph$getHalfTrekSystem(allowedNodes, nodeParents)
6. ├─SEMID::getHalfTrekSystem(this, ...)
7. └─SEMID:::getHalfTrekSystem.MixedGraph(this, ...)
8. └─this$getTrekSystem(...)
9. ├─SEMID::getTrekSystem(this, ...)
10. └─SEMID:::getTrekSystem.MixedGraph(this, ...)
11. └─this$.internalGraph$getTrekSystem(...)
12. ├─SEMID::getTrekSystem(this, ...)
13. └─SEMID:::getTrekSystem.LatentDigraph(this, ...)
14. └─this$.internalGraph$getTrekSystem(...)
15. ├─SEMID::getTrekSystem(this, ...)
16. └─SEMID:::getTrekSystem.LatentDigraphFixedOrder(this, ...)
17. └─this$.trekFlowGraph$updateEdgeCapacities(...)
18. ├─SEMID::updateEdgeCapacities(this, ...)
19. └─SEMID:::updateEdgeCapacities.FlowGraph(this, ...)
20. └─igraph::get.edge.ids(...)
21. └─igraph::get_edge_ids(...)
22. └─igraph:::el_to_vec(vp, call = rlang::caller_env())
23. └─lifecycle::deprecate_stop("2.1.5", "get_edge_ids(vp = 'is not allowed to be a 2 times 2 matrix')")
24. └─lifecycle:::deprecate_stop0(msg)
25. └─rlang::cnd_signal(...)
── Error ('test_edgewiseID.R:18:17'): Edgewise identification does not identify edges erroneously. ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: The `vp` argument of `get_edge_ids()` is not allowed to be a 2 times 2
matrix as of igraph 2.1.5.
Backtrace:
▆
1. └─SEMID::htcID(g) at test_edgewiseID.R:18:17
2. └─SEMID::generalGenericID(mixedGraph, list(htcIdentifyStep), tianDecompose = tianDecompose)
3. └─SEMID::generalGenericID(...)
4. └─SEMID (local) idStepFunction(mixedGraph, unsolvedParents, solvedParents, identifier)
5. └─mixedGraph$getHalfTrekSystem(allowedNodes, nodeParents)
6. ├─SEMID::getHalfTrekSystem(this, ...)
7. └─SEMID:::getHalfTrekSystem.MixedGraph(this, ...)
8. └─this$getTrekSystem(...)
9. ├─SEMID::getTrekSystem(this, ...)
10. └─SEMID:::getTrekSystem.MixedGraph(this, ...)
11. └─this$.internalGraph$getTrekSystem(...)
12. ├─SEMID::getTrekSystem(this, ...)
13. └─SEMID:::getTrekSystem.LatentDigraph(this, ...)
14. └─this$.internalGraph$getTrekSystem(...)
15. ├─SEMID::getTrekSystem(this, ...)
16. └─SEMID:::getTrekSystem.LatentDigraphFixedOrder(this, ...)
17. └─this$.trekFlowGraph$updateEdgeCapacities(...)
18. ├─SEMID::updateEdgeCapacities(this, ...)
19. └─SEMID:::updateEdgeCapacities.FlowGraph(this, ...)
20. └─igraph::get.edge.ids(...)
21. └─igraph::get_edge_ids(...)
22. └─igraph:::el_to_vec(vp, call = rlang::caller_env())
23. └─lifecycle::deprecate_stop("2.1.5", "get_edge_ids(vp = 'is not allowed to be a 2 times 2 matrix')")
24. └─lifecycle:::deprecate_stop0(msg)
25. └─rlang::cnd_signal(...)
── Error ('test_edgewiseID.R:44:9'): TO DELETE ─────────────────────────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: The `vp` argument of `get_edge_ids()` is not allowed to be a 2 times 2
matrix as of igraph 2.1.5.
Backtrace:
▆
1. └─SEMID::htcID(g, tianDecompose = F) at test_edgewiseID.R:44:9
2. └─SEMID::generalGenericID(mixedGraph, list(htcIdentifyStep), tianDecompose = tianDecompose)
3. └─SEMID (local) idStepFunction(mixedGraph, unsolvedParents, solvedParents, identifier)
4. └─mixedGraph$getHalfTrekSystem(allowedNodes, nodeParents)
5. ├─SEMID::getHalfTrekSystem(this, ...)
6. └─SEMID:::getHalfTrekSystem.MixedGraph(this, ...)
7. └─this$getTrekSystem(...)
8. ├─SEMID::getTrekSystem(this, ...)
9. └─SEMID:::getTrekSystem.MixedGraph(this, ...)
10. └─this$.internalGraph$getTrekSystem(...)
11. ├─SEMID::getTrekSystem(this, ...)
12. └─SEMID:::getTrekSystem.LatentDigraph(this, ...)
13. └─this$.internalGraph$getTrekSystem(...)
14. ├─SEMID::getTrekSystem(this, ...)
15. └─SEMID:::getTrekSystem.LatentDigraphFixedOrder(this, ...)
16. └─this$.trekFlowGraph$updateEdgeCapacities(...)
17. ├─SEMID::updateEdgeCapacities(this, ...)
18. └─SEMID:::updateEdgeCapacities.FlowGraph(this, ...)
19. └─igraph::get.edge.ids(...)
20. └─igraph::get_edge_ids(...)
21. └─igraph:::el_to_vec(vp, call = rlang::caller_env())
22. └─lifecycle::deprecate_stop("2.1.5", "get_edge_ids(vp = 'is not allowed to be a 2 times 2 matrix')")
23. └─lifecycle:::deprecate_stop0(msg)
24. └─rlang::cnd_signal(...)
── Error ('test_lfhtcID.R:8:5'): lfhtcID returns correct value for known examples. ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: The `vp` argument of `get_edge_ids()` is not allowed to be a 2 times 2
matrix as of igraph 2.1.5.
Backtrace:
▆
1. └─SEMID::lfhtcID(digraphExamples[[i]]$graph) at test_lfhtcID.R:8:5
2. └─SEMID::lfhtcIdentifyStep(...)
3. └─graph$getTrekSystem(...)
4. ├─SEMID::getTrekSystem(this, ...)
5. └─SEMID:::getTrekSystem.LatentDigraph(this, ...)
6. └─this$.internalGraph$getTrekSystem(...)
7. ├─SEMID::getTrekSystem(this, ...)
8. └─SEMID:::getTrekSystem.LatentDigraphFixedOrder(this, ...)
9. └─this$.trekFlowGraph$updateEdgeCapacities(...)
10. ├─SEMID::updateEdgeCapacities(this, ...)
11. └─SEMID:::updateEdgeCapacities.FlowGraph(this, ...)
12. └─igraph::get.edge.ids(...)
13. └─igraph::get_edge_ids(...)
14. └─igraph:::el_to_vec(vp, call = rlang::caller_env())
15. └─lifecycle::deprecate_stop("2.1.5", "get_edge_ids(vp = 'is not allowed to be a 2 times 2 matrix')")
16. └─lifecycle:::deprecate_stop0(msg)
17. └─rlang::cnd_signal(...)
── Error ('test_trekSepID.R:25:17'): Edgewise identification does not identify edges erroneously. ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: The `vp` argument of `get_edge_ids()` is not allowed to be a 2 times 2
matrix as of igraph 2.1.5.
Backtrace:
▆
1. └─SEMID (local) trekSepId(MixedGraph(L, O)) at test_trekSepID.R:25:17
2. └─SEMID::generalGenericID(mixedGraph, list(tsIdStep)) at test_trekSepID.R:11:5
3. └─SEMID::generalGenericID(...)
4. └─SEMID (local) idStepFunction(mixedGraph, unsolvedParents, solvedParents, identifier)
5. └─SEMID::trekSeparationIdentifyStep(...) at test_trekSepID.R:8:9
6. └─mixedGraph$getTrekSystem(sources, c(targets, i), avoidRightEdges = toRemoveOnRight)
7. ├─SEMID::getTrekSystem(this, ...)
8. └─SEMID:::getTrekSystem.MixedGraph(this, ...)
9. └─this$.internalGraph$getTrekSystem(...)
10. ├─SEMID::getTrekSystem(this, ...)
11. └─SEMID:::getTrekSystem.LatentDigraph(this, ...)
12. └─this$.internalGraph$getTrekSystem(...)
13. ├─SEMID::getTrekSystem(this, ...)
14. └─SEMID:::getTrekSystem.LatentDigraphFixedOrder(this, ...)
15. └─this$.trekFlowGraph$updateEdgeCapacities(...)
16. ├─SEMID::updateEdgeCapacities(this, ...)
17. └─SEMID:::updateEdgeCapacities.FlowGraph(this, ...)
18. └─igraph::get.edge.ids(...)
19. └─igraph::get_edge_ids(...)
20. └─igraph:::el_to_vec(vp, call = rlang::caller_env())
21. └─lifecycle::deprecate_stop("2.1.5", "get_edge_ids(vp = 'is not allowed to be a 2 times 2 matrix')")
22. └─lifecycle:::deprecate_stop0(msg)
23. └─rlang::cnd_signal(...)
[ FAIL 7 | WARN 11 | SKIP 0 | PASS 965 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [11s/29s] OK
- checking HTML version of manual ... [4s/12s] OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 2 ERRORs