CRAN Package Check Results for Package simDAG

Last updated on 2026-03-10 12:54:14 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.0 14.15 393.60 407.75 ERROR
r-devel-linux-x86_64-debian-gcc 0.5.0 9.22 265.24 274.46 ERROR
r-devel-linux-x86_64-fedora-clang 0.5.1 27.00 603.53 630.53 OK
r-devel-linux-x86_64-fedora-gcc 0.5.0 24.00 604.97 628.97 OK
r-devel-macos-arm64 0.5.1 4.00 79.00 83.00 OK
r-devel-windows-x86_64 0.5.0 18.00 343.00 361.00 ERROR
r-patched-linux-x86_64 0.5.0 15.81 345.86 361.67 OK
r-release-linux-x86_64 0.5.0 11.96 360.33 372.29 ERROR
r-release-macos-arm64 0.5.1 3.00 79.00 82.00 OK
r-release-macos-x86_64 0.5.0 10.00 399.00 409.00 OK
r-release-windows-x86_64 0.5.0 16.00 370.00 386.00 ERROR
r-oldrel-macos-arm64 0.5.1 3.00 85.00 88.00 OK
r-oldrel-macos-x86_64 0.5.0 10.00 295.00 305.00 OK
r-oldrel-windows-x86_64 0.5.0 22.00 437.00 459.00 ERROR

Check Details

Version: 0.5.0
Check: tests
Result: ERROR Running ‘testthat.R’ [116s/179s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(simDAG) > library(testthat) > library(data.table) Attaching package: 'data.table' The following object is masked from 'package:base': %notin% > 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 > library(ggdag) Attaching package: 'ggdag' The following object is masked from 'package:stats': filter > > data.table::setDTthreads(1) > > test_check("simDAG") Saving _problems/test_network-458.R Saving _problems/test_node_lmer-15.R Saving _problems/test_node_lmer-46.R Saving _problems/test_node_lmer-79.R Saving _problems/test_node_lmer-172.R Saving _problems/test_node_lmer-202.R Saving _problems/test_node_lmer-233.R Saving _problems/test_node_lmer-266.R Saving _problems/test_node_lmer-294.R Saving _problems/test_node_lmer-308.R Saving _problems/test_node_lmer-363.R Saving _problems/test_node_lmer-387.R 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 starting worker pid=495624 on localhost:11386 at 09:12:33.172 starting worker pid=495623 on localhost:11386 at 09:12:33.209 | | | 0%Loading required package: simDAG loaded simDAG and set parent environment Loading required package: simDAG Attaching package: ‘data.table’ loaded simDAG and set parent environment The following object is masked from ‘package:base’: %notin% Loading required package: foreach Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% Loading required package: rngtools Loading required package: foreach Loading required package: rngtools | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%starting worker pid=496680 on localhost:11386 at 09:12:38.157 starting worker pid=496681 on localhost:11386 at 09:12:38.271 Loading required package: simDAG loaded simDAG and set parent environment Loading required package: simDAG Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% Loading required package: foreach loaded simDAG and set parent environment Loading required package: rngtools Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% Loading required package: foreach Loading required package: rngtools starting worker pid=498086 on localhost:11386 at 09:12:44.563 starting worker pid=498087 on localhost:11386 at 09:12:44.563 Loading required package: simDAG loaded simDAG and set parent environment Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% Loading required package: foreach Loading required package: simDAG Loading required package: rngtools loaded simDAG and set parent environment Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% Loading required package: foreach Loading required package: rngtools starting worker pid=499609 on localhost:11386 at 09:12:52.290 starting worker pid=499608 on localhost:11386 at 09:12:52.438 | | | 0%Loading required package: simDAG loaded simDAG and set parent environment Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% Loading required package: foreach Loading required package: simDAG Loading required package: rngtools loaded simDAG and set parent environment Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% Loading required package: foreach Loading required package: rngtools | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%starting worker pid=500584 on localhost:11386 at 09:12:58.186 starting worker pid=500583 on localhost:11386 at 09:12:58.419 | | | 0%Loading required package: simDAG loaded simDAG and set parent environment Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% Loading required package: foreach Loading required package: simDAG Loading required package: rngtools loaded simDAG and set parent environment Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% Loading required package: foreach Loading required package: rngtools | |=================================== | 50% | |======================================================================| 100%starting worker pid=501653 on localhost:11386 at 09:13:04.368 starting worker pid=501652 on localhost:11386 at 09:13:04.395 | | | 0%Loading required package: simDAG loaded simDAG and set parent environment Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% Loading required package: foreach Loading required package: rngtools Loading required package: simDAG loaded simDAG and set parent environment Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% Loading required package: foreach Loading required package: rngtools | |=================================== | 50% | |======================================================================| 100%[ FAIL 12 | WARN 14 | SKIP 54 | PASS 1012 ] ══ Skipped tests (54) ══════════════════════════════════════════════════════════ • On CRAN (54): 'test_DAG.network_S3.r:4:1', 'test_DAG.network_S3.r:10:1', 'test_DAG.network_S3.r:18:1', 'test_DAG.network_S3.r:24:1', 'test_DAG.network_S3.r:32:1', 'test_DAG.network_S3.r:44:1', 'test_DAG.network_S3.r:50:1', 'test_DAG.network_S3.r:58:1', 'test_DAG.network_S3.r:64:1', 'test_DAG.network_S3.r:72:1', 'test_DAG.node_S3.r:4:1', 'test_DAG.node_S3.r:9:1', 'test_DAG.node_S3.r:14:1', 'test_DAG.node_S3.r:19:1', 'test_DAG.node_S3.r:24:1', 'test_DAG.node_S3.r:32:1', 'test_DAG.node_S3.r:37:1', 'test_DAG.node_S3.r:42:1', 'test_DAG.node_S3.r:47:1', 'test_DAG.node_S3.r:52:1', 'test_dag.r:14:1', 'test_dag.r:21:1', 'test_dag.r:34:1', 'test_dag.r:44:1', 'test_dag.r:51:1', 'test_dag.r:64:1', 'test_node.r:548:1', 'test_plot.DAG.r:11:1', 'test_plot.DAG.r:15:1', 'test_plot.DAG.r:19:1', 'test_plot.DAG.r:23:1', 'test_plot.DAG.r:27:1', 'test_plot.DAG.r:31:1', 'test_plot.DAG.r:35:1', 'test_plot.DAG.r:40:1', 'test_plot.DAG.r:44:1', 'test_plot.DAG.r:52:1', 'test_plot.DAG.r:59:1', 'test_plot.DAG.r:64:1', 'test_plot.DAG.r:69:1', 'test_plot.DAG.r:100:1', 'test_plot.DAG.r:104:1', 'test_plot.DAG.r:108:1', 'test_plot.simDT.r:24:1', 'test_plot.simDT.r:28:1', 'test_plot.simDT.r:32:1', 'test_plot.simDT.r:36:1', 'test_plot.simDT.r:40:1', 'test_plot.simDT.r:48:1', 'test_plot.simDT.r:56:1', 'test_simDT_S3.r:11:1', 'test_simDT_S3.r:15:1', 'test_simDT_S3.r:20:1', 'test_simDT_S3.r:25:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_network.r:458:3'): mixing net() and mixed terms in formula syntax ── Expected `round(mean(data$Y), 3)` to equal `-5.3`. Differences: `actual`: -5.3020 `expected`: -5.3000 ── Failure ('test_node_lmer.r:15:3'): simple random effect ───────────────────── Expected `round(mean(data$Y), 3)` to equal `-1.99`. Differences: `actual`: -1.9950 `expected`: -1.9900 ── Failure ('test_node_lmer.r:46:3'): simple random effect in disrete-time simulation ── Expected `round(mean(data$Y), 3)` to equal `-1.852`. Differences: `actual`: -1.864 `expected`: -1.852 ── Failure ('test_node_lmer.r:79:3'): simple random effect + categorical fixed effect ── Expected `round(mean(data$Y), 3)` to equal `-0.513`. Differences: `actual`: -0.5190 `expected`: -0.5130 ── Failure ('test_node_lmer.r:172:3'): simple random effect + cubic terms ────── Expected `round(mean(data$Y), 3)` to equal `-1.797`. Differences: `actual`: -1.8020 `expected`: -1.7970 ── Failure ('test_node_lmer.r:202:3'): simple random effect + ONLY cubic terms ── Expected `round(mean(data$Y), 3)` to equal `-1.851`. Differences: `actual`: -1.8560 `expected`: -1.8510 ── Failure ('test_node_lmer.r:233:3'): multiple random effects ───────────────── Expected `round(mean(data$Y), 3)` to equal `-2.179`. Differences: `actual`: -2.1780 `expected`: -2.1790 ── Failure ('test_node_lmer.r:266:3'): with random effects and random slopes ─── Expected `round(mean(data$Y), 3)` to equal `-1.974`. Differences: `actual`: -1.9790 `expected`: -1.9740 ── Failure ('test_node_lmer.r:294:3'): mixed model term with + in it ─────────── Expected `round(mean(data$Y), 3)` to equal `-2.365`. Differences: `actual`: -2.3610 `expected`: -2.3650 ── Failure ('test_node_lmer.r:308:3'): works with function input ─────────────── Expected `round(mean(data$Y), 3)` to equal `-2.365`. Differences: `actual`: -2.3610 `expected`: -2.3650 ── Failure ('test_node_lmer.r:363:3'): random effects with net() syntax ──────── Expected `round(mean(data$Y), 3)` to equal `-5.299`. Differences: `actual`: -5.3000 `expected`: -5.2990 ── Failure ('test_node_lmer.r:387:3'): simple random effect with non-default link ── Expected `round(mean(data$Y), 3)` to equal `-1.99`. Differences: `actual`: -1.9950 `expected`: -1.9900 [ FAIL 12 | WARN 14 | SKIP 54 | PASS 1012 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.5.0
Check: tests
Result: ERROR Running ‘testthat.R’ [71s/107s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(simDAG) > library(testthat) > library(data.table) Attaching package: 'data.table' The following object is masked from 'package:base': %notin% > 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 > library(ggdag) Attaching package: 'ggdag' The following object is masked from 'package:stats': filter > > data.table::setDTthreads(1) > > test_check("simDAG") Saving _problems/test_network-458.R Saving _problems/test_node_lmer-15.R Saving _problems/test_node_lmer-46.R Saving _problems/test_node_lmer-79.R Saving _problems/test_node_lmer-172.R Saving _problems/test_node_lmer-202.R Saving _problems/test_node_lmer-233.R Saving _problems/test_node_lmer-266.R Saving _problems/test_node_lmer-294.R Saving _problems/test_node_lmer-308.R Saving _problems/test_node_lmer-363.R Saving _problems/test_node_lmer-387.R 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 starting worker pid=2532377 on localhost:11208 at 19:00:51.892 starting worker pid=2532378 on localhost:11208 at 19:00:51.957 | | | 0%Loading required package: simDAG loaded simDAG and set parent environment Loading required package: simDAG Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% Loading required package: foreach loaded simDAG and set parent environment Loading required package: rngtools Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% Loading required package: foreach Loading required package: rngtools | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%starting worker pid=2536532 on localhost:11208 at 19:00:55.264 starting worker pid=2536531 on localhost:11208 at 19:00:55.362 Loading required package: simDAG Loading required package: simDAG loaded simDAG and set parent environment Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% Loading required package: foreach Loading required package: rngtools loaded simDAG and set parent environment Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% Loading required package: foreach Loading required package: rngtools starting worker pid=2541560 on localhost:11208 at 19:01:00.402 starting worker pid=2541561 on localhost:11208 at 19:01:00.550 Loading required package: simDAG loaded simDAG and set parent environment Loading required package: simDAG Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% Loading required package: foreach Loading required package: rngtools loaded simDAG and set parent environment Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% Loading required package: foreach Loading required package: rngtools starting worker pid=2547937 on localhost:11208 at 19:01:06.069 starting worker pid=2547938 on localhost:11208 at 19:01:06.154 | | | 0%Loading required package: simDAG Loading required package: simDAG loaded simDAG and set parent environment loaded simDAG and set parent environment Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% Loading required package: foreach Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% Loading required package: foreach Loading required package: rngtools Loading required package: rngtools | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%starting worker pid=2551099 on localhost:11208 at 19:01:10.005 starting worker pid=2551098 on localhost:11208 at 19:01:10.040 | | | 0%Loading required package: simDAG Loading required package: simDAG loaded simDAG and set parent environment loaded simDAG and set parent environment Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% Attaching package: ‘data.table’ Loading required package: foreach The following object is masked from ‘package:base’: %notin% Loading required package: foreach Loading required package: rngtools Loading required package: rngtools | |=================================== | 50% | |======================================================================| 100%starting worker pid=2553354 on localhost:11208 at 19:01:13.507 starting worker pid=2553355 on localhost:11208 at 19:01:13.503 | | | 0%Loading required package: simDAG Loading required package: simDAG loaded simDAG and set parent environment Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% Loading required package: foreach loaded simDAG and set parent environment Loading required package: rngtools Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% Loading required package: foreach Loading required package: rngtools | |=================================== | 50% | |======================================================================| 100%[ FAIL 12 | WARN 14 | SKIP 54 | PASS 1012 ] ══ Skipped tests (54) ══════════════════════════════════════════════════════════ • On CRAN (54): 'test_DAG.network_S3.r:4:1', 'test_DAG.network_S3.r:10:1', 'test_DAG.network_S3.r:18:1', 'test_DAG.network_S3.r:24:1', 'test_DAG.network_S3.r:32:1', 'test_DAG.network_S3.r:44:1', 'test_DAG.network_S3.r:50:1', 'test_DAG.network_S3.r:58:1', 'test_DAG.network_S3.r:64:1', 'test_DAG.network_S3.r:72:1', 'test_DAG.node_S3.r:4:1', 'test_DAG.node_S3.r:9:1', 'test_DAG.node_S3.r:14:1', 'test_DAG.node_S3.r:19:1', 'test_DAG.node_S3.r:24:1', 'test_DAG.node_S3.r:32:1', 'test_DAG.node_S3.r:37:1', 'test_DAG.node_S3.r:42:1', 'test_DAG.node_S3.r:47:1', 'test_DAG.node_S3.r:52:1', 'test_dag.r:14:1', 'test_dag.r:21:1', 'test_dag.r:34:1', 'test_dag.r:44:1', 'test_dag.r:51:1', 'test_dag.r:64:1', 'test_node.r:548:1', 'test_plot.DAG.r:11:1', 'test_plot.DAG.r:15:1', 'test_plot.DAG.r:19:1', 'test_plot.DAG.r:23:1', 'test_plot.DAG.r:27:1', 'test_plot.DAG.r:31:1', 'test_plot.DAG.r:35:1', 'test_plot.DAG.r:40:1', 'test_plot.DAG.r:44:1', 'test_plot.DAG.r:52:1', 'test_plot.DAG.r:59:1', 'test_plot.DAG.r:64:1', 'test_plot.DAG.r:69:1', 'test_plot.DAG.r:100:1', 'test_plot.DAG.r:104:1', 'test_plot.DAG.r:108:1', 'test_plot.simDT.r:24:1', 'test_plot.simDT.r:28:1', 'test_plot.simDT.r:32:1', 'test_plot.simDT.r:36:1', 'test_plot.simDT.r:40:1', 'test_plot.simDT.r:48:1', 'test_plot.simDT.r:56:1', 'test_simDT_S3.r:11:1', 'test_simDT_S3.r:15:1', 'test_simDT_S3.r:20:1', 'test_simDT_S3.r:25:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_network.r:458:3'): mixing net() and mixed terms in formula syntax ── Expected `round(mean(data$Y), 3)` to equal `-5.3`. Differences: `actual`: -5.3020 `expected`: -5.3000 ── Failure ('test_node_lmer.r:15:3'): simple random effect ───────────────────── Expected `round(mean(data$Y), 3)` to equal `-1.99`. Differences: `actual`: -1.9950 `expected`: -1.9900 ── Failure ('test_node_lmer.r:46:3'): simple random effect in disrete-time simulation ── Expected `round(mean(data$Y), 3)` to equal `-1.852`. Differences: `actual`: -1.864 `expected`: -1.852 ── Failure ('test_node_lmer.r:79:3'): simple random effect + categorical fixed effect ── Expected `round(mean(data$Y), 3)` to equal `-0.513`. Differences: `actual`: -0.5190 `expected`: -0.5130 ── Failure ('test_node_lmer.r:172:3'): simple random effect + cubic terms ────── Expected `round(mean(data$Y), 3)` to equal `-1.797`. Differences: `actual`: -1.8020 `expected`: -1.7970 ── Failure ('test_node_lmer.r:202:3'): simple random effect + ONLY cubic terms ── Expected `round(mean(data$Y), 3)` to equal `-1.851`. Differences: `actual`: -1.8560 `expected`: -1.8510 ── Failure ('test_node_lmer.r:233:3'): multiple random effects ───────────────── Expected `round(mean(data$Y), 3)` to equal `-2.179`. Differences: `actual`: -2.1780 `expected`: -2.1790 ── Failure ('test_node_lmer.r:266:3'): with random effects and random slopes ─── Expected `round(mean(data$Y), 3)` to equal `-1.974`. Differences: `actual`: -1.9790 `expected`: -1.9740 ── Failure ('test_node_lmer.r:294:3'): mixed model term with + in it ─────────── Expected `round(mean(data$Y), 3)` to equal `-2.365`. Differences: `actual`: -2.3610 `expected`: -2.3650 ── Failure ('test_node_lmer.r:308:3'): works with function input ─────────────── Expected `round(mean(data$Y), 3)` to equal `-2.365`. Differences: `actual`: -2.3610 `expected`: -2.3650 ── Failure ('test_node_lmer.r:363:3'): random effects with net() syntax ──────── Expected `round(mean(data$Y), 3)` to equal `-5.299`. Differences: `actual`: -5.3000 `expected`: -5.2990 ── Failure ('test_node_lmer.r:387:3'): simple random effect with non-default link ── Expected `round(mean(data$Y), 3)` to equal `-1.99`. Differences: `actual`: -1.9950 `expected`: -1.9900 [ FAIL 12 | WARN 14 | SKIP 54 | PASS 1012 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.5.0
Check: tests
Result: ERROR Running 'testthat.R' [111s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(simDAG) > library(testthat) > library(data.table) Attaching package: 'data.table' The following object is masked from 'package:base': %notin% > 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 > library(ggdag) Attaching package: 'ggdag' The following object is masked from 'package:stats': filter > > data.table::setDTthreads(1) > > test_check("simDAG") Saving _problems/test_network-458.R Saving _problems/test_node_lmer-15.R Saving _problems/test_node_lmer-46.R Saving _problems/test_node_lmer-79.R Saving _problems/test_node_lmer-172.R Saving _problems/test_node_lmer-202.R Saving _problems/test_node_lmer-233.R Saving _problems/test_node_lmer-266.R Saving _problems/test_node_lmer-294.R Saving _problems/test_node_lmer-308.R Saving _problems/test_node_lmer-363.R Saving _problems/test_node_lmer-387.R 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 starting worker pid=85480 on localhost:11030 at 18:25:04.989 starting worker pid=59564 on localhost:11030 at 18:25:05.005 | | | 0%Loading required package: simDAG loaded simDAG and set parent environment Attaching package: 'data.table' The following object is masked from 'package:base': %notin% Loading required package: foreach Loading required package: rngtools Loading required package: simDAG loaded simDAG and set parent environment Attaching package: 'data.table' The following object is masked from 'package:base': %notin% Loading required package: foreach Loading required package: rngtools | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%starting worker pid=31132 on localhost:11030 at 18:25:07.677 starting worker pid=61748 on localhost:11030 at 18:25:07.680 Loading required package: simDAG loaded simDAG and set parent environment Attaching package: 'data.table' The following object is masked from 'package:base': %notin% Loading required package: foreach Loading required package: rngtools Loading required package: simDAG loaded simDAG and set parent environment Attaching package: 'data.table' The following object is masked from 'package:base': %notin% Loading required package: foreach Loading required package: rngtools starting worker pid=67408 on localhost:11030 at 18:25:11.006 starting worker pid=86028 on localhost:11030 at 18:25:11.038 Loading required package: simDAG loaded simDAG and set parent environment Attaching package: 'data.table' The following object is masked from 'package:base': %notin% Loading required package: foreach Loading required package: simDAG loaded simDAG and set parent environment Loading required package: rngtools Attaching package: 'data.table' The following object is masked from 'package:base': %notin% Loading required package: foreach Loading required package: rngtools starting worker pid=83176 on localhost:11030 at 18:25:14.920 starting worker pid=71432 on localhost:11030 at 18:25:14.934 | | | 0%Loading required package: simDAG loaded simDAG and set parent environment Attaching package: 'data.table' The following object is masked from 'package:base': %notin% Loading required package: foreach Loading required package: rngtools Loading required package: simDAG loaded simDAG and set parent environment Attaching package: 'data.table' The following object is masked from 'package:base': %notin% Loading required package: foreach Loading required package: rngtools | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%starting worker pid=54192 on localhost:11030 at 18:25:18.181 starting worker pid=36216 on localhost:11030 at 18:25:18.210 | | | 0%Loading required package: simDAG loaded simDAG and set parent environment Attaching package: 'data.table' The following object is masked from 'package:base': %notin% Loading required package: foreach Loading required package: rngtools Loading required package: simDAG loaded simDAG and set parent environment Attaching package: 'data.table' The following object is masked from 'package:base': %notin% Loading required package: foreach Loading required package: rngtools | |=================================== | 50% | |======================================================================| 100%starting worker pid=74880 on localhost:11030 at 18:25:20.807 starting worker pid=17280 on localhost:11030 at 18:25:20.809 | | | 0%Loading required package: simDAG loaded simDAG and set parent environment Attaching package: 'data.table' The following object is masked from 'package:base': %notin% Loading required package: foreach Loading required package: rngtools Loading required package: simDAG loaded simDAG and set parent environment Attaching package: 'data.table' The following object is masked from 'package:base': %notin% Loading required package: foreach Loading required package: rngtools | |=================================== | 50% | |======================================================================| 100%[ FAIL 12 | WARN 14 | SKIP 54 | PASS 1012 ] ══ Skipped tests (54) ══════════════════════════════════════════════════════════ • On CRAN (54): 'test_DAG.network_S3.r:4:1', 'test_DAG.network_S3.r:10:1', 'test_DAG.network_S3.r:18:1', 'test_DAG.network_S3.r:24:1', 'test_DAG.network_S3.r:32:1', 'test_DAG.network_S3.r:44:1', 'test_DAG.network_S3.r:50:1', 'test_DAG.network_S3.r:58:1', 'test_DAG.network_S3.r:64:1', 'test_DAG.network_S3.r:72:1', 'test_DAG.node_S3.r:4:1', 'test_DAG.node_S3.r:9:1', 'test_DAG.node_S3.r:14:1', 'test_DAG.node_S3.r:19:1', 'test_DAG.node_S3.r:24:1', 'test_DAG.node_S3.r:32:1', 'test_DAG.node_S3.r:37:1', 'test_DAG.node_S3.r:42:1', 'test_DAG.node_S3.r:47:1', 'test_DAG.node_S3.r:52:1', 'test_dag.r:14:1', 'test_dag.r:21:1', 'test_dag.r:34:1', 'test_dag.r:44:1', 'test_dag.r:51:1', 'test_dag.r:64:1', 'test_node.r:548:1', 'test_plot.DAG.r:11:1', 'test_plot.DAG.r:15:1', 'test_plot.DAG.r:19:1', 'test_plot.DAG.r:23:1', 'test_plot.DAG.r:27:1', 'test_plot.DAG.r:31:1', 'test_plot.DAG.r:35:1', 'test_plot.DAG.r:40:1', 'test_plot.DAG.r:44:1', 'test_plot.DAG.r:52:1', 'test_plot.DAG.r:59:1', 'test_plot.DAG.r:64:1', 'test_plot.DAG.r:69:1', 'test_plot.DAG.r:100:1', 'test_plot.DAG.r:104:1', 'test_plot.DAG.r:108:1', 'test_plot.simDT.r:24:1', 'test_plot.simDT.r:28:1', 'test_plot.simDT.r:32:1', 'test_plot.simDT.r:36:1', 'test_plot.simDT.r:40:1', 'test_plot.simDT.r:48:1', 'test_plot.simDT.r:56:1', 'test_simDT_S3.r:11:1', 'test_simDT_S3.r:15:1', 'test_simDT_S3.r:20:1', 'test_simDT_S3.r:25:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_network.r:458:3'): mixing net() and mixed terms in formula syntax ── Expected `round(mean(data$Y), 3)` to equal `-5.3`. Differences: `actual`: -5.3020 `expected`: -5.3000 ── Failure ('test_node_lmer.r:15:3'): simple random effect ───────────────────── Expected `round(mean(data$Y), 3)` to equal `-1.99`. Differences: `actual`: -1.9950 `expected`: -1.9900 ── Failure ('test_node_lmer.r:46:3'): simple random effect in disrete-time simulation ── Expected `round(mean(data$Y), 3)` to equal `-1.852`. Differences: `actual`: -1.864 `expected`: -1.852 ── Failure ('test_node_lmer.r:79:3'): simple random effect + categorical fixed effect ── Expected `round(mean(data$Y), 3)` to equal `-0.513`. Differences: `actual`: -0.5190 `expected`: -0.5130 ── Failure ('test_node_lmer.r:172:3'): simple random effect + cubic terms ────── Expected `round(mean(data$Y), 3)` to equal `-1.797`. Differences: `actual`: -1.8020 `expected`: -1.7970 ── Failure ('test_node_lmer.r:202:3'): simple random effect + ONLY cubic terms ── Expected `round(mean(data$Y), 3)` to equal `-1.851`. Differences: `actual`: -1.8560 `expected`: -1.8510 ── Failure ('test_node_lmer.r:233:3'): multiple random effects ───────────────── Expected `round(mean(data$Y), 3)` to equal `-2.179`. Differences: `actual`: -2.1780 `expected`: -2.1790 ── Failure ('test_node_lmer.r:266:3'): with random effects and random slopes ─── Expected `round(mean(data$Y), 3)` to equal `-1.974`. Differences: `actual`: -1.9790 `expected`: -1.9740 ── Failure ('test_node_lmer.r:294:3'): mixed model term with + in it ─────────── Expected `round(mean(data$Y), 3)` to equal `-2.365`. Differences: `actual`: -2.3610 `expected`: -2.3650 ── Failure ('test_node_lmer.r:308:3'): works with function input ─────────────── Expected `round(mean(data$Y), 3)` to equal `-2.365`. Differences: `actual`: -2.3610 `expected`: -2.3650 ── Failure ('test_node_lmer.r:363:3'): random effects with net() syntax ──────── Expected `round(mean(data$Y), 3)` to equal `-5.299`. Differences: `actual`: -5.3000 `expected`: -5.2990 ── Failure ('test_node_lmer.r:387:3'): simple random effect with non-default link ── Expected `round(mean(data$Y), 3)` to equal `-1.99`. Differences: `actual`: -1.9950 `expected`: -1.9900 [ FAIL 12 | WARN 14 | SKIP 54 | PASS 1012 ] Error: ! Test failures. Execution halted Flavor: r-devel-windows-x86_64

Version: 0.5.0
Check: tests
Result: ERROR Running ‘testthat.R’ [107s/170s] 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 > library(ggdag) Attaching package: 'ggdag' The following object is masked from 'package:stats': filter > > data.table::setDTthreads(1) > > test_check("simDAG") Saving _problems/test_network-458.R Saving _problems/test_node_lmer-15.R Saving _problems/test_node_lmer-46.R Saving _problems/test_node_lmer-79.R Saving _problems/test_node_lmer-172.R Saving _problems/test_node_lmer-202.R Saving _problems/test_node_lmer-233.R Saving _problems/test_node_lmer-266.R Saving _problems/test_node_lmer-294.R Saving _problems/test_node_lmer-308.R Saving _problems/test_node_lmer-363.R Saving _problems/test_node_lmer-387.R 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 starting worker pid=164972 on localhost:11596 at 20:03:31.905 starting worker pid=164973 on localhost:11596 at 20:03:31.921 | | | 0%Loading required package: simDAG loaded simDAG and set parent environment Loading required package: simDAG loaded simDAG and set parent environment Loading required package: foreach Loading required package: foreach Loading required package: rngtools Loading required package: rngtools | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%starting worker pid=165662 on localhost:11596 at 20:03:35.912 starting worker pid=165663 on localhost:11596 at 20:03:35.929 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=167021 on localhost:11596 at 20:03:42.495 starting worker pid=167022 on localhost:11596 at 20:03:42.570 Loading required package: simDAG loaded simDAG and set parent environment Loading required package: simDAG Loading required package: foreach Loading required package: rngtools loaded simDAG and set parent environment Loading required package: foreach Loading required package: rngtools starting worker pid=168050 on localhost:11596 at 20:03:49.245 starting worker pid=168051 on localhost:11596 at 20:03:49.345 | | | 0%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 | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%starting worker pid=169410 on localhost:11596 at 20:03:55.304 starting worker pid=169411 on localhost:11596 at 20:03:55.325 | | | 0%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: foreach Loading required package: rngtools Loading required package: rngtools | |=================================== | 50% | |======================================================================| 100%starting worker pid=170802 on localhost:11596 at 20:03:59.231 starting worker pid=170803 on localhost:11596 at 20:03:59.287 | | | 0%Loading required package: simDAG loaded simDAG and set parent environment Loading required package: foreach Loading required package: simDAG Loading required package: rngtools loaded simDAG and set parent environment Loading required package: foreach Loading required package: rngtools | |=================================== | 50% | |======================================================================| 100%[ FAIL 12 | WARN 14 | SKIP 54 | PASS 1012 ] ══ Skipped tests (54) ══════════════════════════════════════════════════════════ • On CRAN (54): 'test_DAG.network_S3.r:4:1', 'test_DAG.network_S3.r:10:1', 'test_DAG.network_S3.r:18:1', 'test_DAG.network_S3.r:24:1', 'test_DAG.network_S3.r:32:1', 'test_DAG.network_S3.r:44:1', 'test_DAG.network_S3.r:50:1', 'test_DAG.network_S3.r:58:1', 'test_DAG.network_S3.r:64:1', 'test_DAG.network_S3.r:72:1', 'test_DAG.node_S3.r:4:1', 'test_DAG.node_S3.r:9:1', 'test_DAG.node_S3.r:14:1', 'test_DAG.node_S3.r:19:1', 'test_DAG.node_S3.r:24:1', 'test_DAG.node_S3.r:32:1', 'test_DAG.node_S3.r:37:1', 'test_DAG.node_S3.r:42:1', 'test_DAG.node_S3.r:47:1', 'test_DAG.node_S3.r:52:1', 'test_dag.r:14:1', 'test_dag.r:21:1', 'test_dag.r:34:1', 'test_dag.r:44:1', 'test_dag.r:51:1', 'test_dag.r:64:1', 'test_node.r:548:1', 'test_plot.DAG.r:11:1', 'test_plot.DAG.r:15:1', 'test_plot.DAG.r:19:1', 'test_plot.DAG.r:23:1', 'test_plot.DAG.r:27:1', 'test_plot.DAG.r:31:1', 'test_plot.DAG.r:35:1', 'test_plot.DAG.r:40:1', 'test_plot.DAG.r:44:1', 'test_plot.DAG.r:52:1', 'test_plot.DAG.r:59:1', 'test_plot.DAG.r:64:1', 'test_plot.DAG.r:69:1', 'test_plot.DAG.r:100:1', 'test_plot.DAG.r:104:1', 'test_plot.DAG.r:108:1', 'test_plot.simDT.r:24:1', 'test_plot.simDT.r:28:1', 'test_plot.simDT.r:32:1', 'test_plot.simDT.r:36:1', 'test_plot.simDT.r:40:1', 'test_plot.simDT.r:48:1', 'test_plot.simDT.r:56:1', 'test_simDT_S3.r:11:1', 'test_simDT_S3.r:15:1', 'test_simDT_S3.r:20:1', 'test_simDT_S3.r:25:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_network.r:458:3'): mixing net() and mixed terms in formula syntax ── Expected `round(mean(data$Y), 3)` to equal `-5.3`. Differences: `actual`: -5.3020 `expected`: -5.3000 ── Failure ('test_node_lmer.r:15:3'): simple random effect ───────────────────── Expected `round(mean(data$Y), 3)` to equal `-1.99`. Differences: `actual`: -1.9950 `expected`: -1.9900 ── Failure ('test_node_lmer.r:46:3'): simple random effect in disrete-time simulation ── Expected `round(mean(data$Y), 3)` to equal `-1.852`. Differences: `actual`: -1.864 `expected`: -1.852 ── Failure ('test_node_lmer.r:79:3'): simple random effect + categorical fixed effect ── Expected `round(mean(data$Y), 3)` to equal `-0.513`. Differences: `actual`: -0.5190 `expected`: -0.5130 ── Failure ('test_node_lmer.r:172:3'): simple random effect + cubic terms ────── Expected `round(mean(data$Y), 3)` to equal `-1.797`. Differences: `actual`: -1.8020 `expected`: -1.7970 ── Failure ('test_node_lmer.r:202:3'): simple random effect + ONLY cubic terms ── Expected `round(mean(data$Y), 3)` to equal `-1.851`. Differences: `actual`: -1.8560 `expected`: -1.8510 ── Failure ('test_node_lmer.r:233:3'): multiple random effects ───────────────── Expected `round(mean(data$Y), 3)` to equal `-2.179`. Differences: `actual`: -2.1780 `expected`: -2.1790 ── Failure ('test_node_lmer.r:266:3'): with random effects and random slopes ─── Expected `round(mean(data$Y), 3)` to equal `-1.974`. Differences: `actual`: -1.9790 `expected`: -1.9740 ── Failure ('test_node_lmer.r:294:3'): mixed model term with + in it ─────────── Expected `round(mean(data$Y), 3)` to equal `-2.365`. Differences: `actual`: -2.3610 `expected`: -2.3650 ── Failure ('test_node_lmer.r:308:3'): works with function input ─────────────── Expected `round(mean(data$Y), 3)` to equal `-2.365`. Differences: `actual`: -2.3610 `expected`: -2.3650 ── Failure ('test_node_lmer.r:363:3'): random effects with net() syntax ──────── Expected `round(mean(data$Y), 3)` to equal `-5.299`. Differences: `actual`: -5.3000 `expected`: -5.2990 ── Failure ('test_node_lmer.r:387:3'): simple random effect with non-default link ── Expected `round(mean(data$Y), 3)` to equal `-1.99`. Differences: `actual`: -1.9950 `expected`: -1.9900 [ FAIL 12 | WARN 14 | SKIP 54 | PASS 1012 ] Error: ! Test failures. Execution halted Flavor: r-release-linux-x86_64

Version: 0.5.0
Check: tests
Result: ERROR Running 'testthat.R' [141s] 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 > library(ggdag) Attaching package: 'ggdag' The following object is masked from 'package:stats': filter > > data.table::setDTthreads(1) > > test_check("simDAG") Saving _problems/test_network-458.R Saving _problems/test_node_lmer-15.R Saving _problems/test_node_lmer-46.R Saving _problems/test_node_lmer-79.R Saving _problems/test_node_lmer-172.R Saving _problems/test_node_lmer-202.R Saving _problems/test_node_lmer-233.R Saving _problems/test_node_lmer-266.R Saving _problems/test_node_lmer-294.R Saving _problems/test_node_lmer-308.R Saving _problems/test_node_lmer-363.R Saving _problems/test_node_lmer-387.R 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 starting worker pid=86824 on localhost:11639 at 01:53:24.045 starting worker pid=59164 on localhost:11639 at 01:53:24.054 | | | 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=70456 on localhost:11639 at 01:53:26.847 starting worker pid=40444 on localhost:11639 at 01:53:26.889 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=79972 on localhost:11639 at 01:53:30.644 starting worker pid=28372 on localhost:11639 at 01:53:30.652 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=82500 on localhost:11639 at 01:53:35.112 starting worker pid=55332 on localhost:11639 at 01:53:35.143 | | | 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=53852 on localhost:11639 at 01:53:38.478 starting worker pid=55920 on localhost:11639 at 01:53:38.479 | | | 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 | |=================================== | 50% | |======================================================================| 100%starting worker pid=70616 on localhost:11639 at 01:53:41.244 starting worker pid=41480 on localhost:11639 at 01:53:41.244 | | | 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 | |=================================== | 50% | |======================================================================| 100%[ FAIL 12 | WARN 14 | SKIP 54 | PASS 1012 ] ══ Skipped tests (54) ══════════════════════════════════════════════════════════ • On CRAN (54): 'test_DAG.network_S3.r:4:1', 'test_DAG.network_S3.r:10:1', 'test_DAG.network_S3.r:18:1', 'test_DAG.network_S3.r:24:1', 'test_DAG.network_S3.r:32:1', 'test_DAG.network_S3.r:44:1', 'test_DAG.network_S3.r:50:1', 'test_DAG.network_S3.r:58:1', 'test_DAG.network_S3.r:64:1', 'test_DAG.network_S3.r:72:1', 'test_DAG.node_S3.r:4:1', 'test_DAG.node_S3.r:9:1', 'test_DAG.node_S3.r:14:1', 'test_DAG.node_S3.r:19:1', 'test_DAG.node_S3.r:24:1', 'test_DAG.node_S3.r:32:1', 'test_DAG.node_S3.r:37:1', 'test_DAG.node_S3.r:42:1', 'test_DAG.node_S3.r:47:1', 'test_DAG.node_S3.r:52:1', 'test_dag.r:14:1', 'test_dag.r:21:1', 'test_dag.r:34:1', 'test_dag.r:44:1', 'test_dag.r:51:1', 'test_dag.r:64:1', 'test_node.r:548:1', 'test_plot.DAG.r:11:1', 'test_plot.DAG.r:15:1', 'test_plot.DAG.r:19:1', 'test_plot.DAG.r:23:1', 'test_plot.DAG.r:27:1', 'test_plot.DAG.r:31:1', 'test_plot.DAG.r:35:1', 'test_plot.DAG.r:40:1', 'test_plot.DAG.r:44:1', 'test_plot.DAG.r:52:1', 'test_plot.DAG.r:59:1', 'test_plot.DAG.r:64:1', 'test_plot.DAG.r:69:1', 'test_plot.DAG.r:100:1', 'test_plot.DAG.r:104:1', 'test_plot.DAG.r:108:1', 'test_plot.simDT.r:24:1', 'test_plot.simDT.r:28:1', 'test_plot.simDT.r:32:1', 'test_plot.simDT.r:36:1', 'test_plot.simDT.r:40:1', 'test_plot.simDT.r:48:1', 'test_plot.simDT.r:56:1', 'test_simDT_S3.r:11:1', 'test_simDT_S3.r:15:1', 'test_simDT_S3.r:20:1', 'test_simDT_S3.r:25:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_network.r:458:3'): mixing net() and mixed terms in formula syntax ── Expected `round(mean(data$Y), 3)` to equal `-5.3`. Differences: `actual`: -5.3020 `expected`: -5.3000 ── Failure ('test_node_lmer.r:15:3'): simple random effect ───────────────────── Expected `round(mean(data$Y), 3)` to equal `-1.99`. Differences: `actual`: -1.9950 `expected`: -1.9900 ── Failure ('test_node_lmer.r:46:3'): simple random effect in disrete-time simulation ── Expected `round(mean(data$Y), 3)` to equal `-1.852`. Differences: `actual`: -1.864 `expected`: -1.852 ── Failure ('test_node_lmer.r:79:3'): simple random effect + categorical fixed effect ── Expected `round(mean(data$Y), 3)` to equal `-0.513`. Differences: `actual`: -0.5190 `expected`: -0.5130 ── Failure ('test_node_lmer.r:172:3'): simple random effect + cubic terms ────── Expected `round(mean(data$Y), 3)` to equal `-1.797`. Differences: `actual`: -1.8020 `expected`: -1.7970 ── Failure ('test_node_lmer.r:202:3'): simple random effect + ONLY cubic terms ── Expected `round(mean(data$Y), 3)` to equal `-1.851`. Differences: `actual`: -1.8560 `expected`: -1.8510 ── Failure ('test_node_lmer.r:233:3'): multiple random effects ───────────────── Expected `round(mean(data$Y), 3)` to equal `-2.179`. Differences: `actual`: -2.1780 `expected`: -2.1790 ── Failure ('test_node_lmer.r:266:3'): with random effects and random slopes ─── Expected `round(mean(data$Y), 3)` to equal `-1.974`. Differences: `actual`: -1.9790 `expected`: -1.9740 ── Failure ('test_node_lmer.r:294:3'): mixed model term with + in it ─────────── Expected `round(mean(data$Y), 3)` to equal `-2.365`. Differences: `actual`: -2.3610 `expected`: -2.3650 ── Failure ('test_node_lmer.r:308:3'): works with function input ─────────────── Expected `round(mean(data$Y), 3)` to equal `-2.365`. Differences: `actual`: -2.3610 `expected`: -2.3650 ── Failure ('test_node_lmer.r:363:3'): random effects with net() syntax ──────── Expected `round(mean(data$Y), 3)` to equal `-5.299`. Differences: `actual`: -5.3000 `expected`: -5.2990 ── Failure ('test_node_lmer.r:387:3'): simple random effect with non-default link ── Expected `round(mean(data$Y), 3)` to equal `-1.99`. Differences: `actual`: -1.9950 `expected`: -1.9900 [ FAIL 12 | WARN 14 | SKIP 54 | PASS 1012 ] Error: ! Test failures. Execution halted Flavor: r-release-windows-x86_64

Version: 0.5.0
Check: tests
Result: ERROR Running 'testthat.R' [152s] 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 > library(ggdag) Attaching package: 'ggdag' The following object is masked from 'package:stats': filter > > data.table::setDTthreads(1) > > test_check("simDAG") Saving _problems/test_network-458.R Saving _problems/test_node_lmer-15.R Saving _problems/test_node_lmer-46.R Saving _problems/test_node_lmer-79.R Saving _problems/test_node_lmer-172.R Saving _problems/test_node_lmer-202.R Saving _problems/test_node_lmer-233.R Saving _problems/test_node_lmer-266.R Saving _problems/test_node_lmer-294.R Saving _problems/test_node_lmer-308.R Saving _problems/test_node_lmer-363.R Saving _problems/test_node_lmer-387.R 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 starting worker pid=55548 on localhost:11259 at 14:26:41.344 starting worker pid=108296 on localhost:11259 at 14:26:41.360 | | | 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=33948 on localhost:11259 at 14:26:45.046 starting worker pid=33756 on localhost:11259 at 14:26:45.124 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=69120 on localhost:11259 at 14:26:49.775 starting worker pid=29112 on localhost:11259 at 14:26:49.775 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=27828 on localhost:11259 at 14:26:54.948 starting worker pid=58320 on localhost:11259 at 14:26:54.972 | | | 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=63692 on localhost:11259 at 14:26:58.904 starting worker pid=27216 on localhost:11259 at 14:26:58.930 | | | 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 | |=================================== | 50% | |======================================================================| 100%starting worker pid=113020 on localhost:11259 at 14:27:02.695 starting worker pid=30624 on localhost:11259 at 14:27:02.740 | | | 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 | |=================================== | 50% | |======================================================================| 100%[ FAIL 12 | WARN 14 | SKIP 54 | PASS 1012 ] ══ Skipped tests (54) ══════════════════════════════════════════════════════════ • On CRAN (54): 'test_DAG.network_S3.r:4:1', 'test_DAG.network_S3.r:10:1', 'test_DAG.network_S3.r:18:1', 'test_DAG.network_S3.r:24:1', 'test_DAG.network_S3.r:32:1', 'test_DAG.network_S3.r:44:1', 'test_DAG.network_S3.r:50:1', 'test_DAG.network_S3.r:58:1', 'test_DAG.network_S3.r:64:1', 'test_DAG.network_S3.r:72:1', 'test_DAG.node_S3.r:4:1', 'test_DAG.node_S3.r:9:1', 'test_DAG.node_S3.r:14:1', 'test_DAG.node_S3.r:19:1', 'test_DAG.node_S3.r:24:1', 'test_DAG.node_S3.r:32:1', 'test_DAG.node_S3.r:37:1', 'test_DAG.node_S3.r:42:1', 'test_DAG.node_S3.r:47:1', 'test_DAG.node_S3.r:52:1', 'test_dag.r:14:1', 'test_dag.r:21:1', 'test_dag.r:34:1', 'test_dag.r:44:1', 'test_dag.r:51:1', 'test_dag.r:64:1', 'test_node.r:548:1', 'test_plot.DAG.r:11:1', 'test_plot.DAG.r:15:1', 'test_plot.DAG.r:19:1', 'test_plot.DAG.r:23:1', 'test_plot.DAG.r:27:1', 'test_plot.DAG.r:31:1', 'test_plot.DAG.r:35:1', 'test_plot.DAG.r:40:1', 'test_plot.DAG.r:44:1', 'test_plot.DAG.r:52:1', 'test_plot.DAG.r:59:1', 'test_plot.DAG.r:64:1', 'test_plot.DAG.r:69:1', 'test_plot.DAG.r:100:1', 'test_plot.DAG.r:104:1', 'test_plot.DAG.r:108:1', 'test_plot.simDT.r:24:1', 'test_plot.simDT.r:28:1', 'test_plot.simDT.r:32:1', 'test_plot.simDT.r:36:1', 'test_plot.simDT.r:40:1', 'test_plot.simDT.r:48:1', 'test_plot.simDT.r:56:1', 'test_simDT_S3.r:11:1', 'test_simDT_S3.r:15:1', 'test_simDT_S3.r:20:1', 'test_simDT_S3.r:25:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_network.r:458:3'): mixing net() and mixed terms in formula syntax ── Expected `round(mean(data$Y), 3)` to equal `-5.3`. Differences: `actual`: -5.3020 `expected`: -5.3000 ── Failure ('test_node_lmer.r:15:3'): simple random effect ───────────────────── Expected `round(mean(data$Y), 3)` to equal `-1.99`. Differences: `actual`: -1.9950 `expected`: -1.9900 ── Failure ('test_node_lmer.r:46:3'): simple random effect in disrete-time simulation ── Expected `round(mean(data$Y), 3)` to equal `-1.852`. Differences: `actual`: -1.864 `expected`: -1.852 ── Failure ('test_node_lmer.r:79:3'): simple random effect + categorical fixed effect ── Expected `round(mean(data$Y), 3)` to equal `-0.513`. Differences: `actual`: -0.5190 `expected`: -0.5130 ── Failure ('test_node_lmer.r:172:3'): simple random effect + cubic terms ────── Expected `round(mean(data$Y), 3)` to equal `-1.797`. Differences: `actual`: -1.8020 `expected`: -1.7970 ── Failure ('test_node_lmer.r:202:3'): simple random effect + ONLY cubic terms ── Expected `round(mean(data$Y), 3)` to equal `-1.851`. Differences: `actual`: -1.8560 `expected`: -1.8510 ── Failure ('test_node_lmer.r:233:3'): multiple random effects ───────────────── Expected `round(mean(data$Y), 3)` to equal `-2.179`. Differences: `actual`: -2.1780 `expected`: -2.1790 ── Failure ('test_node_lmer.r:266:3'): with random effects and random slopes ─── Expected `round(mean(data$Y), 3)` to equal `-1.974`. Differences: `actual`: -1.9790 `expected`: -1.9740 ── Failure ('test_node_lmer.r:294:3'): mixed model term with + in it ─────────── Expected `round(mean(data$Y), 3)` to equal `-2.365`. Differences: `actual`: -2.3610 `expected`: -2.3650 ── Failure ('test_node_lmer.r:308:3'): works with function input ─────────────── Expected `round(mean(data$Y), 3)` to equal `-2.365`. Differences: `actual`: -2.3610 `expected`: -2.3650 ── Failure ('test_node_lmer.r:363:3'): random effects with net() syntax ──────── Expected `round(mean(data$Y), 3)` to equal `-5.299`. Differences: `actual`: -5.3000 `expected`: -5.2990 ── Failure ('test_node_lmer.r:387:3'): simple random effect with non-default link ── Expected `round(mean(data$Y), 3)` to equal `-1.99`. Differences: `actual`: -1.9950 `expected`: -1.9900 [ FAIL 12 | WARN 14 | SKIP 54 | PASS 1012 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64