R Under development (unstable) (2026-02-18 r89435 ucrt) -- "Unsuffered Consequences" Copyright (C) 2026 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(causalDisco) causalDisco startup: Java heap size requested: 2 GB Tetrad version: not installed Tetrad is not installed. Run install_tetrad() to install it. To change heap size, set options(java.heap.size = 'Ng') or Sys.setenv(JAVA_HEAP_SIZE = 'Ng') *before* loading. Restart R to apply changes. > > test_check("causalDisco") Skipping Tetrad installation on CRAN Casting graph... Casting options... Performing GIES-F... == starting forward phase (not adaptive)... inserting edge (1, 3) with C = {}, S = 1.93727 Casting graph... Casting options... Performing GIES-F... == starting forward phase (not adaptive)... inserting edge (2, 3) with C = {1}, S = 0.442783 Casting graph... Casting options... Performing GIES-F... == starting forward phase (not adaptive)... inserting edge (1, 0) with C = {}, S = 0.0748069 Casting graph... Casting options... Performing GIES-F... == starting forward phase (not adaptive)... Casting graph... Casting options... Performing GIES-B... == starting backward phase... Casting graph... Casting options... Performing GIES-T... == starting turning phase... Casting graph... Casting options... Performing GIES-F... == starting forward phase (not adaptive)... Casting graph... Casting options... Performing GIES-B... == starting backward phase... Casting graph... Casting options... Performing GIES-T... == starting turning phase... -- caugi graph ----------------------------------------------------------------- Graph class: DAG -- Edges -- from edge to 1 V1 --> V2 2 V2 --> V3 3 V3 --> V4 -- Nodes -- name 1 V1 2 V2 3 V3 4 V4 -- Knowledge object ------------------------------------------------------------ -- caugi graph ----------------------------------------------------------------- Graph class: DAG -- Edges -- from edge to 1 V1 --> V2 2 V2 --> V3 3 V3 --> V4 -- Nodes -- name 1 V1 2 V2 3 V3 4 V4 -- Knowledge object ------------------------------------------------------------ -- caugi graph ----------------------------------------------------------------- Graph class: DAG 3 edges, 4 nodes -- Knowledge object ------------------------------------------------------------ -- caugi graph ----------------------------------------------------------------- Graph class: DAG 3 edges, 4 nodes -- Knowledge object ------------------------------------------------------------ -- caugi graph summary --------------------------------------------------------- Graph class: DAG Nodes: 4 Edges: 3 -- Knowledge summary -- Tiers: 0 Variables: 0 Required edges: 0 Forbidden edges: 0 -- Variables per Tier -- caugi graph ----------------------------------------------------------------- Graph class: AUTO -- Knowledge object ------------------------------------------------------------ -- caugi graph ----------------------------------------------------------------- Graph class: AUTO -- Knowledge object ------------------------------------------------------------ -- caugi graph ----------------------------------------------------------------- Graph class: AUTO 0 edges, 0 nodes -- Knowledge object ------------------------------------------------------------ -- caugi graph ----------------------------------------------------------------- Graph class: AUTO 0 edges, 0 nodes -- Knowledge object ------------------------------------------------------------ -- caugi graph summary --------------------------------------------------------- Graph class: AUTO Nodes: 0 Edges: 0 -- Knowledge summary -- Tiers: 0 Variables: 0 Required edges: 0 Forbidden edges: 0 -- Variables per Tier -- Knowledge object ------------------------------------------------------------ -- Tiers -- -- Variables -- -- Edges -- -- Knowledge object ------------------------------------------------------------ -- Tiers -- tier 1 1 2 2 -- Variables -- var tier 1 A 1 2 B 1 3 C 2 4 D 5 E 6 F -- Edges -- x A > C v B > A -- Knowledge object ------------------------------------------------------------ -- Tiers -- tier 1 1 2 2 -- Variables -- tier var1 var2 var3 1 1 A B 2 2 C 3 D E F -- Edges -- x A > C v B > A -- Knowledge object ------------------------------------------------------------ -- Tiers -- tier 1 1 2 2 -- Variables -- var tier 1 A 1 2 B 1 3 C 2 ... and 3 more rows -- Edges -- x A > C v B > A -- Knowledge object ------------------------------------------------------------ -- Tiers -- tier 1 1 2 2 -- Variables -- tier var1 var2 var3 1 1 A B 2 2 C 3 D E F -- Edges -- x A > C v B > A -- Knowledge summary -- Tiers: 2 Variables: 6 Required edges: 1 Forbidden edges: 1 -- Variables per Tier 1: 2 variables 2: 1 variables -- Knowledge object ------------------------------------------------------------ -- Knowledge object ------------------------------------------------------------ -- Knowledge object ------------------------------------------------------------ -- Knowledge object ------------------------------------------------------------ -- Knowledge summary -- Tiers: 0 Variables: 0 Required edges: 0 Forbidden edges: 0 -- Variables per Tier -- Knowledge object ------------------------------------------------------------ -- Variables -- var tier 1 A 2 B -- Edges -- v A > B -- Knowledge object ------------------------------------------------------------ -- Variables -- tier var1 var2 1 A B -- Edges -- v A > B -- Knowledge object ------------------------------------------------------------ -- Variables -- var tier 1 A 2 B -- Edges -- v A > B -- Knowledge object ------------------------------------------------------------ -- Variables -- tier var1 var2 1 A B -- Edges -- v A > B -- Knowledge summary -- Tiers: 0 Variables: 2 Required edges: 1 Forbidden edges: 0 -- Variables per Tier causalDisco startup: Java heap size requested: 2 GB Tetrad version: not installed Tetrad is not installed. Run install_tetrad() to install it. To change heap size, set options(java.heap.size = 'Ng') or Sys.setenv(JAVA_HEAP_SIZE = 'Ng') *before* loading. Restart R to apply changes. [ FAIL 0 | WARN 2 | SKIP 67 | PASS 1009 ] ══ Skipped tests (67) ══════════════════════════════════════════════════════════ • Currently no bnlearn score algorithms are implemented (1): 'test-bnlearn-args.R:76:3' • Java not available; skipping init_java tests (2): 'test-init-java.R:8:5', 'test-init-java.R:41:5' • On CRAN (1): 'test-knowledge.R:1043:1' • TGES causalDisco does not yet support required edges from knowledge objects. (1): 'test-tges.R:60:3' • Tetrad not installed or version unknown (58): 'test-boss-fci.R:2:3', 'test-boss.R:2:3', 'test-cast-obj.R:6:3', 'test-cast-obj.R:32:3', 'test-cast-obj.R:42:3', 'test-cast-obj.R:65:3', 'test-cast-obj.R:83:3', 'test-check-args.R:6:3', 'test-check-args.R:31:3', 'test-check-args.R:390:3', 'test-constraint-based-methods.R:6:3', 'test-constraint-based-methods.R:29:3', 'test-constraint-based-methods.R:63:3', 'test-constraint-based-methods.R:103:3', 'test-constraint-based-methods.R:126:3', 'test-fci.R:2:3', 'test-fci.R:57:3', 'test-fci.R:121:3', 'test-ges.R:2:3', 'test-ges.R:47:3', 'test-ges.R:96:3', 'test-gfci.R:2:3', 'test-grasp-fci.R:2:3', 'test-grasp.R:2:3', 'test-java-rdata-utils.R:6:3', 'test-java-rdata-utils.R:17:3', 'test-java-rdata-utils.R:51:3', 'test-java-rdata-utils.R:102:3', 'test-java-rdata-utils.R:126:3', 'test-knowledge-conversions.R:6:3', 'test-pc.R:2:3', 'test-pc.R:55:3', 'test-pc.R:106:3', 'test-pc.R:465:3', 'test-pc.R:527:3', 'test-score-based-methods.R:6:3', 'test-score-based-methods.R:24:3', 'test-score-based-methods.R:55:3', 'test-score-based-methods.R:85:3', 'test-score-based-methods.R:107:3', 'test-sp-fci.R:2:3', 'test-startup.R:6:3', 'test-startup.R:20:3', 'test-startup.R:51:3', 'test-startup.R:73:3', 'test-startup.R:94:3', 'test-startup.R:118:3', 'test-tetrad-args.R:2:3', 'test-tetrad-args.R:23:3', 'test-tetrad-args.R:44:3', 'test-tetrad-args.R:76:3', 'test-tetrad-args.R:100:3', 'test-tetrad-args.R:119:3', 'test-tetrad-rdata-utils.R:2:3', 'test-tetrad-rdata-utils.R:15:3', 'test-tetrad-search.R:1:1', 'test-zzz.R:12:3', 'test-zzz.R:23:3' • empty test (2): 'test-plot.R:274:1', 'test-plot.R:304:1' • tfci causalDisco does not yet support required edges from knowledge objects. (1): 'test-tfci.R:64:3' • tpc causalDisco does not yet support required edges from knowledge objects. (1): 'test-tpc.R:65:3' [ FAIL 0 | WARN 2 | SKIP 67 | PASS 1009 ] > > proc.time() user system elapsed 54.31 2.70 71.03