- using R Under development (unstable) (2026-03-28 r89738)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 21.1.8 (3+b1)
Debian flang version 21.1.8 (3+b1)
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-03-31 07:29:26 UTC
- checking for file ‘simDAG/DESCRIPTION’ ... OK
- this is package ‘simDAG’ version ‘0.5.1’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [2s/3s] OK
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking serialization versions ... OK
- checking whether package ‘simDAG’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [3s/4s] OK
- checking whether the package can be loaded with stated dependencies ... [2s/3s] OK
- checking whether the package can be unloaded cleanly ... [2s/3s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s/4s] OK
- checking whether the namespace can be unloaded cleanly ... [3s/3s] OK
- checking loading without being on the library search path ... [3s/4s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [29s/37s] OK
- checking Rd files ... [1s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [25s/36s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
sim_n_datasets 0.858 0.005 6.648
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [114s/170s] ERROR
Running ‘testthat.R’ [114s/169s]
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=3833030 on localhost:11764 at 09:34:16.224
starting worker pid=3833029 on localhost:11764 at 09:34:16.381
|
| | 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
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=3834307 on localhost:11764 at 09:34:21.068
starting worker pid=3834308 on localhost:11764 at 09:34:21.080
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
starting worker pid=3835897 on localhost:11764 at 09:34:27.934
starting worker pid=3835896 on localhost:11764 at 09:34:28.012
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: simDAG
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=3837869 on localhost:11764 at 09:34:34.920
starting worker pid=3837870 on localhost:11764 at 09:34:35.100
|
| | 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=3838804 on localhost:11764 at 09:34:40.674
starting worker pid=3838802 on localhost:11764 at 09:34:40.709
|
| | 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
|
|=================================== | 50%
|
|======================================================================| 100%starting worker pid=3839742 on localhost:11764 at 09:34:46.614
starting worker pid=3839743 on localhost:11764 at 09:34:46.616
|
| | 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%[ FAIL 12 | WARN 14 | SKIP 56 | PASS 1026 ]
══ Skipped tests (56) ══════════════════════════════════════════════════════════
• On CRAN (56): '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_node_rsurv.r:99:3',
'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',
'test_sim_discrete_event.r:693:3'
══ 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.302`.
Differences:
`actual`: -5.3000
`expected`: -5.3020
── Failure ('test_node_lmer.r:15:3'): simple random effect ─────────────────────
Expected `round(mean(data$Y), 3)` to equal `-1.995`.
Differences:
`actual`: -1.9900
`expected`: -1.9950
── Failure ('test_node_lmer.r:46:3'): simple random effect in disrete-time simulation ──
Expected `round(mean(data$Y), 3)` to equal `-1.864`.
Differences:
`actual`: -1.852
`expected`: -1.864
── Failure ('test_node_lmer.r:79:3'): simple random effect + categorical fixed effect ──
Expected `round(mean(data$Y), 3)` to equal `-0.519`.
Differences:
`actual`: -0.5130
`expected`: -0.5190
── Failure ('test_node_lmer.r:172:3'): simple random effect + cubic terms ──────
Expected `round(mean(data$Y), 3)` to equal `-1.802`.
Differences:
`actual`: -1.7970
`expected`: -1.8020
── Failure ('test_node_lmer.r:202:3'): simple random effect + ONLY cubic terms ──
Expected `round(mean(data$Y), 3)` to equal `-1.856`.
Differences:
`actual`: -1.8510
`expected`: -1.8560
── Failure ('test_node_lmer.r:233:3'): multiple random effects ─────────────────
Expected `round(mean(data$Y), 3)` to equal `-2.178`.
Differences:
`actual`: -2.1790
`expected`: -2.1780
── Failure ('test_node_lmer.r:266:3'): with random effects and random slopes ───
Expected `round(mean(data$Y), 3)` to equal `-1.979`.
Differences:
`actual`: -1.9740
`expected`: -1.9790
── Failure ('test_node_lmer.r:294:3'): mixed model term with + in it ───────────
Expected `round(mean(data$Y), 3)` to equal `-2.361`.
Differences:
`actual`: -2.3650
`expected`: -2.3610
── Failure ('test_node_lmer.r:308:3'): works with function input ───────────────
Expected `round(mean(data$Y), 3)` to equal `-2.361`.
Differences:
`actual`: -2.3650
`expected`: -2.3610
── Failure ('test_node_lmer.r:363:3'): random effects with net() syntax ────────
Expected `round(mean(data$Y), 3)` to equal `-5.3`.
Differences:
`actual`: -5.2990
`expected`: -5.3000
── Failure ('test_node_lmer.r:387:3'): simple random effect with non-default link ──
Expected `round(mean(data$Y), 3)` to equal `-1.995`.
Differences:
`actual`: -1.9900
`expected`: -1.9950
[ FAIL 12 | WARN 14 | SKIP 56 | PASS 1026 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [132s/132s] OK
- checking PDF version of manual ... [9s/14s] OK
- checking HTML version of manual ... [10s/15s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR