CRAN Package Check Results for Package simDAG

Last updated on 2025-02-23 15:49:58 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.1 6.47 127.09 133.56 NOTE
r-devel-linux-x86_64-debian-gcc 0.2.1 4.70 80.75 85.45 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.1 189.89 ERROR
r-devel-linux-x86_64-fedora-gcc 0.2.1 196.60 ERROR
r-devel-macos-arm64 0.2.1 67.00 OK
r-devel-macos-x86_64 0.2.1 131.00 NOTE
r-devel-windows-x86_64 0.2.1 9.00 135.00 144.00 NOTE
r-patched-linux-x86_64 0.2.1 8.39 113.37 121.76 OK
r-release-linux-x86_64 0.2.1 6.28 113.95 120.23 ERROR
r-release-macos-arm64 0.2.1 73.00 OK
r-release-macos-x86_64 0.2.1 159.00 OK
r-release-windows-x86_64 0.2.1 10.00 134.00 144.00 OK
r-oldrel-macos-arm64 0.2.1 79.00 OK
r-oldrel-macos-x86_64 0.2.1 136.00 OK
r-oldrel-windows-x86_64 0.2.1 12.00 167.00 179.00 OK

Check Details

Version: 0.2.1
Check: DESCRIPTION meta-information
Result: NOTE Missing dependency on R >= 4.1.0 because package code uses the pipe |> or function shorthand \(...) syntax added in R 4.1.0. File(s) using such syntax: ‘formula_interface.r’ ‘node_time_to_event.r’ Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-macos-x86_64, r-devel-windows-x86_64

Version: 0.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [23s/29s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(simDAG) > library(testthat) > library(data.table) > library(igraph) Attaching package: 'igraph' The following object is masked from 'package:testthat': compare The following objects are masked from 'package:stats': decompose, spectrum The following object is masked from 'package:base': union > > data.table::setDTthreads(1) > > test_check("simDAG") Loading required namespace: MASS Loading required namespace: ggplot2 Loading required namespace: ggforce t = 1 node = sickness2 t = 1 node = sickness1 t = 2 node = sickness2 t = 2 node = sickness1 t = 3 node = sickness2 t = 3 node = sickness1 t = 4 node = sickness2 t = 4 node = sickness1 t = 5 node = sickness2 t = 5 node = sickness1 Loading required namespace: Rfast Loading required namespace: doSNOW Loading required namespace: doRNG starting worker pid=2566206 on localhost:11381 at 17:44:57.638 starting worker pid=2566207 on localhost:11381 at 17:44:57.758 | | | 0%Loading required package: simDAG loaded simDAG and set parent environment Loading required package: foreach Loading required package: rngtools Loading required package: simDAG loaded simDAG and set parent environment Loading required package: foreach Loading required package: rngtools | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%starting worker pid=2567194 on localhost:11381 at 17:44:58.548 starting worker pid=2567192 on localhost:11381 at 17:44:58.550 Loading required package: simDAG loaded simDAG and set parent environment Loading required package: foreach Loading required package: rngtools Loading required package: simDAG loaded simDAG and set parent environment Loading required package: foreach Loading required package: rngtools starting worker pid=2569006 on localhost:11381 at 17:45:00.178 starting worker pid=2569007 on localhost:11381 at 17:45:00.189 Loading required package: simDAG loaded simDAG and set parent environment Loading required package: foreach Loading required package: rngtools Loading required package: simDAG loaded simDAG and set parent environment Loading required package: foreach Loading required package: rngtools [ FAIL 2 | WARN 14 | SKIP 43 | PASS 611 ] ══ Skipped tests (43) ══════════════════════════════════════════════════════════ • On CRAN (43): 'test_DAG.node_S3.r:6:3', 'test_DAG.node_S3.r:11:3', 'test_DAG.node_S3.r:16:3', 'test_DAG.node_S3.r:21:3', 'test_DAG.node_S3.r:27:3', 'test_DAG.node_S3.r:34:3', 'test_DAG.node_S3.r:39:3', 'test_DAG.node_S3.r:44:3', 'test_DAG.node_S3.r:49:3', 'test_DAG.node_S3.r:55:3', 'test_dag.r:17:3', 'test_dag.r:30:3', 'test_dag.r:37:3', 'test_dag.r:50:3', 'test_dag.r:66:3', 'test_node.r:519:3', 'test_plot.DAG.r:12:3', 'test_plot.DAG.r:16:3', 'test_plot.DAG.r:20:3', 'test_plot.DAG.r:24:3', 'test_plot.DAG.r:28:3', 'test_plot.DAG.r:32:3', 'test_plot.DAG.r:36:3', 'test_plot.DAG.r:41:3', 'test_plot.DAG.r:45:3', 'test_plot.DAG.r:53:3', 'test_plot.DAG.r:60:3', 'test_plot.DAG.r:65:3', 'test_plot.DAG.r:70:3', 'test_plot.DAG.r:101:3', 'test_plot.DAG.r:105:3', 'test_plot.DAG.r:109:3', 'test_plot.simDT.r:25:3', 'test_plot.simDT.r:29:3', 'test_plot.simDT.r:33:3', 'test_plot.simDT.r:37:3', 'test_plot.simDT.r:41:3', 'test_plot.simDT.r:49:3', 'test_plot.simDT.r:57:3', 'test_simDT_S3.r:12:3', 'test_simDT_S3.r:17:3', 'test_simDT_S3.r:22:3', 'test_simDT_S3.r:26:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_sim_discrete_time.r:290:3'): helpful error message formula error ── Error: An error occured when interpreting the formula of node 'B'. The message was: Error: Error in `[.data.table`(mod_mat, , args$parents, with = FALSE): columns not found: [A, C] This error may occur when one of the terms in a supplied formula does not match any variables in the generated data. Please check whether all terms in your supplied formula occur in the data generated up to this point. The variables currently available in data are: (Intercept), ATRUE, B, .id Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_sim_discrete_time.r:290: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. └─simDAG::sim_discrete_time(dag, n_sim = 100, max_t = 3) 8. └─base::tryCatch(...) 9. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. └─value[[3L]](cond) ── Error ('test_sim_from_dag.r:102:3'): helpful error message formula error ──── Error: An error occured when interpreting the formula of node 'B'. The message was: Error: Error in `[.data.table`(mod_mat, , args$parents, with = FALSE): columns not found: [A, C] This error may occur when one of the terms in a supplied formula does not match any variables in the generated data. Please check whether all terms in your supplied formula occur in the data generated up to this point. The variables currently available in data are: (Intercept), ATRUE Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_sim_from_dag.r:102: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. └─simDAG::sim_from_dag(dag, n_sim = 100) 8. └─base::tryCatch(...) 9. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. └─value[[3L]](cond) [ FAIL 2 | WARN 14 | SKIP 43 | PASS 611 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [55s/63s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(simDAG) > library(testthat) > library(data.table) > library(igraph) Attaching package: 'igraph' The following object is masked from 'package:testthat': compare The following objects are masked from 'package:stats': decompose, spectrum The following object is masked from 'package:base': union > > data.table::setDTthreads(1) > > test_check("simDAG") Loading required namespace: MASS Loading required namespace: ggplot2 Loading required namespace: ggforce t = 1 node = sickness2 t = 1 node = sickness1 t = 2 node = sickness2 t = 2 node = sickness1 t = 3 node = sickness2 t = 3 node = sickness1 t = 4 node = sickness2 t = 4 node = sickness1 t = 5 node = sickness2 t = 5 node = sickness1 Loading required namespace: Rfast Loading required namespace: doSNOW Loading required namespace: doRNG starting worker pid=3866015 on localhost:11930 at 19:42:45.540 starting worker pid=3866016 on localhost:11930 at 19:42:45.562 | | | 0%Loading required package: simDAG loaded simDAG and set parent environment Loading required package: foreach Loading required package: rngtools Loading required package: simDAG loaded simDAG and set parent environment Loading required package: foreach Loading required package: rngtools | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%starting worker pid=3866052 on localhost:11930 at 19:42:47.113 starting worker pid=3866051 on localhost:11930 at 19:42:47.128 Loading required package: simDAG loaded simDAG and set parent environment Loading required package: foreach Loading required package: rngtools Loading required package: simDAG loaded simDAG and set parent environment Loading required package: foreach Loading required package: rngtools starting worker pid=3866117 on localhost:11930 at 19:42:49.961 starting worker pid=3866118 on localhost:11930 at 19:42:49.964 Loading required package: simDAG loaded simDAG and set parent environment Loading required package: simDAG Loading required package: foreach loaded simDAG and set parent environment Loading required package: rngtools Loading required package: foreach Loading required package: rngtools [ FAIL 2 | WARN 14 | SKIP 43 | PASS 611 ] ══ Skipped tests (43) ══════════════════════════════════════════════════════════ • On CRAN (43): 'test_DAG.node_S3.r:6:3', 'test_DAG.node_S3.r:11:3', 'test_DAG.node_S3.r:16:3', 'test_DAG.node_S3.r:21:3', 'test_DAG.node_S3.r:27:3', 'test_DAG.node_S3.r:34:3', 'test_DAG.node_S3.r:39:3', 'test_DAG.node_S3.r:44:3', 'test_DAG.node_S3.r:49:3', 'test_DAG.node_S3.r:55:3', 'test_dag.r:17:3', 'test_dag.r:30:3', 'test_dag.r:37:3', 'test_dag.r:50:3', 'test_dag.r:66:3', 'test_node.r:519:3', 'test_plot.DAG.r:12:3', 'test_plot.DAG.r:16:3', 'test_plot.DAG.r:20:3', 'test_plot.DAG.r:24:3', 'test_plot.DAG.r:28:3', 'test_plot.DAG.r:32:3', 'test_plot.DAG.r:36:3', 'test_plot.DAG.r:41:3', 'test_plot.DAG.r:45:3', 'test_plot.DAG.r:53:3', 'test_plot.DAG.r:60:3', 'test_plot.DAG.r:65:3', 'test_plot.DAG.r:70:3', 'test_plot.DAG.r:101:3', 'test_plot.DAG.r:105:3', 'test_plot.DAG.r:109:3', 'test_plot.simDT.r:25:3', 'test_plot.simDT.r:29:3', 'test_plot.simDT.r:33:3', 'test_plot.simDT.r:37:3', 'test_plot.simDT.r:41:3', 'test_plot.simDT.r:49:3', 'test_plot.simDT.r:57:3', 'test_simDT_S3.r:12:3', 'test_simDT_S3.r:17:3', 'test_simDT_S3.r:22:3', 'test_simDT_S3.r:26:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_sim_discrete_time.r:290:3'): helpful error message formula error ── Error: An error occured when interpreting the formula of node 'B'. The message was: Error: Error in `[.data.table`(mod_mat, , args$parents, with = FALSE): columns not found: [A, C] This error may occur when one of the terms in a supplied formula does not match any variables in the generated data. Please check whether all terms in your supplied formula occur in the data generated up to this point. The variables currently available in data are: (Intercept), ATRUE, B, .id Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_sim_discrete_time.r:290: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. └─simDAG::sim_discrete_time(dag, n_sim = 100, max_t = 3) 8. └─base::tryCatch(...) 9. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. └─value[[3L]](cond) ── Error ('test_sim_from_dag.r:102:3'): helpful error message formula error ──── Error: An error occured when interpreting the formula of node 'B'. The message was: Error: Error in `[.data.table`(mod_mat, , args$parents, with = FALSE): columns not found: [A, C] This error may occur when one of the terms in a supplied formula does not match any variables in the generated data. Please check whether all terms in your supplied formula occur in the data generated up to this point. The variables currently available in data are: (Intercept), ATRUE Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_sim_from_dag.r:102: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. └─simDAG::sim_from_dag(dag, n_sim = 100) 8. └─base::tryCatch(...) 9. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. └─value[[3L]](cond) [ FAIL 2 | WARN 14 | SKIP 43 | PASS 611 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [56s/66s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(simDAG) > library(testthat) > library(data.table) > library(igraph) Attaching package: 'igraph' The following object is masked from 'package:testthat': compare The following objects are masked from 'package:stats': decompose, spectrum The following object is masked from 'package:base': union > > data.table::setDTthreads(1) > > test_check("simDAG") Loading required namespace: MASS Loading required namespace: ggplot2 Loading required namespace: ggforce t = 1 node = sickness2 t = 1 node = sickness1 t = 2 node = sickness2 t = 2 node = sickness1 t = 3 node = sickness2 t = 3 node = sickness1 t = 4 node = sickness2 t = 4 node = sickness1 t = 5 node = sickness2 t = 5 node = sickness1 Loading required namespace: Rfast Loading required namespace: doSNOW Loading required namespace: doRNG starting worker pid=3846635 on localhost:11175 at 19:33:59.071 starting worker pid=3846636 on localhost:11175 at 19:33:59.121 | | | 0%Loading required package: simDAG loaded simDAG and set parent environment Loading required package: foreach Loading required package: rngtools Loading required package: simDAG loaded simDAG and set parent environment Loading required package: foreach Loading required package: rngtools | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%starting worker pid=3846706 on localhost:11175 at 19:34:00.816 starting worker pid=3846707 on localhost:11175 at 19:34:00.854 Loading required package: simDAG loaded simDAG and set parent environment Loading required package: simDAG Loading required package: foreach loaded simDAG and set parent environment Loading required package: rngtools Loading required package: foreach Loading required package: rngtools starting worker pid=3846811 on localhost:11175 at 19:34:04.172 starting worker pid=3846810 on localhost:11175 at 19:34:04.222 Loading required package: simDAG loaded simDAG and set parent environment Loading required package: foreach Loading required package: rngtools Loading required package: simDAG loaded simDAG and set parent environment Loading required package: foreach Loading required package: rngtools [ FAIL 2 | WARN 14 | SKIP 43 | PASS 611 ] ══ Skipped tests (43) ══════════════════════════════════════════════════════════ • On CRAN (43): 'test_DAG.node_S3.r:6:3', 'test_DAG.node_S3.r:11:3', 'test_DAG.node_S3.r:16:3', 'test_DAG.node_S3.r:21:3', 'test_DAG.node_S3.r:27:3', 'test_DAG.node_S3.r:34:3', 'test_DAG.node_S3.r:39:3', 'test_DAG.node_S3.r:44:3', 'test_DAG.node_S3.r:49:3', 'test_DAG.node_S3.r:55:3', 'test_dag.r:17:3', 'test_dag.r:30:3', 'test_dag.r:37:3', 'test_dag.r:50:3', 'test_dag.r:66:3', 'test_node.r:519:3', 'test_plot.DAG.r:12:3', 'test_plot.DAG.r:16:3', 'test_plot.DAG.r:20:3', 'test_plot.DAG.r:24:3', 'test_plot.DAG.r:28:3', 'test_plot.DAG.r:32:3', 'test_plot.DAG.r:36:3', 'test_plot.DAG.r:41:3', 'test_plot.DAG.r:45:3', 'test_plot.DAG.r:53:3', 'test_plot.DAG.r:60:3', 'test_plot.DAG.r:65:3', 'test_plot.DAG.r:70:3', 'test_plot.DAG.r:101:3', 'test_plot.DAG.r:105:3', 'test_plot.DAG.r:109:3', 'test_plot.simDT.r:25:3', 'test_plot.simDT.r:29:3', 'test_plot.simDT.r:33:3', 'test_plot.simDT.r:37:3', 'test_plot.simDT.r:41:3', 'test_plot.simDT.r:49:3', 'test_plot.simDT.r:57:3', 'test_simDT_S3.r:12:3', 'test_simDT_S3.r:17:3', 'test_simDT_S3.r:22:3', 'test_simDT_S3.r:26:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_sim_discrete_time.r:290:3'): helpful error message formula error ── Error: An error occured when interpreting the formula of node 'B'. The message was: Error: Error in `[.data.table`(mod_mat, , args$parents, with = FALSE): columns not found: [A, C] This error may occur when one of the terms in a supplied formula does not match any variables in the generated data. Please check whether all terms in your supplied formula occur in the data generated up to this point. The variables currently available in data are: (Intercept), ATRUE, B, .id Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_sim_discrete_time.r:290: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. └─simDAG::sim_discrete_time(dag, n_sim = 100, max_t = 3) 8. └─base::tryCatch(...) 9. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. └─value[[3L]](cond) ── Error ('test_sim_from_dag.r:102:3'): helpful error message formula error ──── Error: An error occured when interpreting the formula of node 'B'. The message was: Error: Error in `[.data.table`(mod_mat, , args$parents, with = FALSE): columns not found: [A, C] This error may occur when one of the terms in a supplied formula does not match any variables in the generated data. Please check whether all terms in your supplied formula occur in the data generated up to this point. The variables currently available in data are: (Intercept), ATRUE Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_sim_from_dag.r:102: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. └─simDAG::sim_from_dag(dag, n_sim = 100) 8. └─base::tryCatch(...) 9. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. └─value[[3L]](cond) [ FAIL 2 | WARN 14 | SKIP 43 | PASS 611 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [37s/53s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(simDAG) > library(testthat) > library(data.table) > library(igraph) Attaching package: 'igraph' The following object is masked from 'package:testthat': compare The following objects are masked from 'package:stats': decompose, spectrum The following object is masked from 'package:base': union > > data.table::setDTthreads(1) > > test_check("simDAG") Loading required namespace: MASS Loading required namespace: ggplot2 Loading required namespace: ggforce t = 1 node = sickness2 t = 1 node = sickness1 t = 2 node = sickness2 t = 2 node = sickness1 t = 3 node = sickness2 t = 3 node = sickness1 t = 4 node = sickness2 t = 4 node = sickness1 t = 5 node = sickness2 t = 5 node = sickness1 Loading required namespace: Rfast Loading required namespace: doSNOW Loading required namespace: doRNG starting worker pid=2976561 on localhost:11877 at 05:12:28.430 starting worker pid=2976560 on localhost:11877 at 05:12:28.497 | | | 0%Loading required package: simDAG loaded simDAG and set parent environment Loading required package: foreach Loading required package: rngtools Loading required package: simDAG loaded simDAG and set parent environment Loading required package: foreach Loading required package: rngtools | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%starting worker pid=2977034 on localhost:11877 at 05:12:29.733 starting worker pid=2977035 on localhost:11877 at 05:12:29.781 Loading required package: simDAG loaded simDAG and set parent environment Loading required package: simDAG Loading required package: foreach loaded simDAG and set parent environment Loading required package: rngtools Loading required package: foreach Loading required package: rngtools starting worker pid=2978147 on localhost:11877 at 05:12:32.569 starting worker pid=2978148 on localhost:11877 at 05:12:32.583 Loading required package: simDAG loaded simDAG and set parent environment Loading required package: simDAG Loading required package: foreach loaded simDAG and set parent environment Loading required package: rngtools Loading required package: foreach Loading required package: rngtools [ FAIL 2 | WARN 14 | SKIP 43 | PASS 611 ] ══ Skipped tests (43) ══════════════════════════════════════════════════════════ • On CRAN (43): 'test_DAG.node_S3.r:6:3', 'test_DAG.node_S3.r:11:3', 'test_DAG.node_S3.r:16:3', 'test_DAG.node_S3.r:21:3', 'test_DAG.node_S3.r:27:3', 'test_DAG.node_S3.r:34:3', 'test_DAG.node_S3.r:39:3', 'test_DAG.node_S3.r:44:3', 'test_DAG.node_S3.r:49:3', 'test_DAG.node_S3.r:55:3', 'test_dag.r:17:3', 'test_dag.r:30:3', 'test_dag.r:37:3', 'test_dag.r:50:3', 'test_dag.r:66:3', 'test_node.r:519:3', 'test_plot.DAG.r:12:3', 'test_plot.DAG.r:16:3', 'test_plot.DAG.r:20:3', 'test_plot.DAG.r:24:3', 'test_plot.DAG.r:28:3', 'test_plot.DAG.r:32:3', 'test_plot.DAG.r:36:3', 'test_plot.DAG.r:41:3', 'test_plot.DAG.r:45:3', 'test_plot.DAG.r:53:3', 'test_plot.DAG.r:60:3', 'test_plot.DAG.r:65:3', 'test_plot.DAG.r:70:3', 'test_plot.DAG.r:101:3', 'test_plot.DAG.r:105:3', 'test_plot.DAG.r:109:3', 'test_plot.simDT.r:25:3', 'test_plot.simDT.r:29:3', 'test_plot.simDT.r:33:3', 'test_plot.simDT.r:37:3', 'test_plot.simDT.r:41:3', 'test_plot.simDT.r:49:3', 'test_plot.simDT.r:57:3', 'test_simDT_S3.r:12:3', 'test_simDT_S3.r:17:3', 'test_simDT_S3.r:22:3', 'test_simDT_S3.r:26:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_sim_discrete_time.r:290:3'): helpful error message formula error ── Error: An error occured when interpreting the formula of node 'B'. The message was: Error: Error in `[.data.table`(mod_mat, , args$parents, with = FALSE): columns not found: [A, C] This error may occur when one of the terms in a supplied formula does not match any variables in the generated data. Please check whether all terms in your supplied formula occur in the data generated up to this point. The variables currently available in data are: (Intercept), ATRUE, B, .id Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_sim_discrete_time.r:290: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. └─simDAG::sim_discrete_time(dag, n_sim = 100, max_t = 3) 8. └─base::tryCatch(...) 9. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. └─value[[3L]](cond) ── Error ('test_sim_from_dag.r:102:3'): helpful error message formula error ──── Error: An error occured when interpreting the formula of node 'B'. The message was: Error: Error in `[.data.table`(mod_mat, , args$parents, with = FALSE): columns not found: [A, C] This error may occur when one of the terms in a supplied formula does not match any variables in the generated data. Please check whether all terms in your supplied formula occur in the data generated up to this point. The variables currently available in data are: (Intercept), ATRUE Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_sim_from_dag.r:102: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. └─simDAG::sim_from_dag(dag, n_sim = 100) 8. └─base::tryCatch(...) 9. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. └─value[[3L]](cond) [ FAIL 2 | WARN 14 | SKIP 43 | PASS 611 ] Error: Test failures Execution halted Flavor: r-release-linux-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.