* using log directory 'd:/RCompile/CRANincoming/R-devel/simDAG.Rcheck' * using R Under development (unstable) (2024-09-01 r87083 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'simDAG/DESCRIPTION' ... OK * this is package 'simDAG' version '0.2.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [12s] Note_to_CRAN_maintainers Maintainer: 'Robin Denz ' * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking serialization versions ... OK * checking whether package 'simDAG' can be installed ... OK * checking installed package size ... OK * 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [14s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [11s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [35s] ERROR Running 'testthat.R' [35s] 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 > > test_check("simDAG") Loading required namespace: Rfast 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: doSNOW Loading required namespace: doRNG starting worker pid=39508 on localhost:11059 at 13:27:18.167 starting worker pid=157536 on localhost:11059 at 13:27:18.185 | | | 0%Loading required package: simDAG loaded simDAG and set parent environment Loading required package: Rcpp Loading required package: RcppZiggurat Loading required package: RcppParallel Attaching package: 'RcppParallel' The following object is masked from 'package:Rcpp': LdFlags Rfast: 2.1.0 ___ __ __ __ __ __ __ __ __ __ _ _ __ __ __ __ __ __ __ __ __ __ __ | __ __ __ __ | | __ __ __ __ _/ / \ | __ __ __ __ / /__ __ _ _ __ __\ | | | | | | / _ \ | | / / | | | | | | / / \ \ | | / / | | | | | | / / \ \ | | / / | |__ __ __ __| | | |__ __ __ __ / / \ \ | |__ __ __ __ _ / /__/\ | __ __ __ __| | __ __ __ __| / /__ _ __\ \ |_ __ __ __ _ | / ___ / | \ | | / _ _ _ _ _ _ \ | | \/ / / | |\ \ | | / / \ \ | | / / | | \ \ | | / / \ \ | | / / | | \ \ | | / / \ \ | | / / | | \ \__ __ _ | | / / \ \ _ __ __ __ _| | / / |_| \__ __ __\ |_| /_/ \_\ /_ __ __ __ ___| \/ team Attaching package: 'Rfast' The following object is masked from 'package:data.table': transpose Loading required package: foreach Loading required package: rngtools Loading required package: simDAG loaded simDAG and set parent environment Loading required package: Rcpp Loading required package: RcppZiggurat Loading required package: RcppParallel Attaching package: 'RcppParallel' The following object is masked from 'package:Rcpp': LdFlags Rfast: 2.1.0 ___ __ __ __ __ __ __ __ __ __ _ _ __ __ __ __ __ __ __ __ __ __ __ | __ __ __ __ | | __ __ __ __ _/ / \ | __ __ __ __ / /__ __ _ _ __ __\ | | | | | | / _ \ | | / / | | | | | | / / \ \ | | / / | | | | | | / / \ \ | | / / | |__ __ __ __| | | |__ __ __ __ / / \ \ | |__ __ __ __ _ / /__/\ | __ __ __ __| | __ __ __ __| / /__ _ __\ \ |_ __ __ __ _ | / ___ / | \ | | / _ _ _ _ _ _ \ | | \/ / / | |\ \ | | / / \ \ | | / / | | \ \ | | / / \ \ | | / / | | \ \ | | / / \ \ | | / / | | \ \__ __ _ | | / / \ \ _ __ __ __ _| | / / |_| \__ __ __\ |_| /_/ \_\ /_ __ __ __ ___| \/ team Attaching package: 'Rfast' The following object is masked from 'package:data.table': transpose Loading required package: foreach Loading required package: rngtools | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%starting worker pid=107480 on localhost:11059 at 13:27:20.727 starting worker pid=84416 on localhost:11059 at 13:27:20.729 Loading required package: simDAG loaded simDAG and set parent environment Loading required package: Rcpp Loading required package: RcppZiggurat Loading required package: RcppParallel Attaching package: 'RcppParallel' The following object is masked from 'package:Rcpp': LdFlags Rfast: 2.1.0 ___ __ __ __ __ __ __ __ __ __ _ _ __ __ __ __ __ __ __ __ __ __ __ | __ __ __ __ | | __ __ __ __ _/ / \ | __ __ __ __ / /__ __ _ _ __ __\ | | | | | | / _ \ | | / / | | | | | | / / \ \ | | / / | | | | | | / / \ \ | | / / | |__ __ __ __| | | |__ __ __ __ / / \ \ | |__ __ __ __ _ / /__/\ | __ __ __ __| | __ __ __ __| / /__ _ __\ \ |_ __ __ __ _ | / ___ / | \ | | / _ _ _ _ _ _ \ | | \/ / / | |\ \ | | / / \ \ | | / / | | \ \ | | / / \ \ | | / / | | \ \ | | / / \ \ | | / / | | \ \__ __ _ | | / / \ \ _ __ __ __ _| | / / |_| \__ __ __\ |_| /_/ \_\ /_ __ __ __ ___| \/ team Attaching package: 'Rfast' The following object is masked from 'package:data.table': transpose Loading required package: foreach Loading required package: rngtools Loading required package: simDAG loaded simDAG and set parent environment Loading required package: Rcpp Loading required package: RcppZiggurat Loading required package: RcppParallel Attaching package: 'RcppParallel' The following object is masked from 'package:Rcpp': LdFlags Rfast: 2.1.0 ___ __ __ __ __ __ __ __ __ __ _ _ __ __ __ __ __ __ __ __ __ __ __ | __ __ __ __ | | __ __ __ __ _/ / \ | __ __ __ __ / /__ __ _ _ __ __\ | | | | | | / _ \ | | / / | | | | | | / / \ \ | | / / | | | | | | / / \ \ | | / / | |__ __ __ __| | | |__ __ __ __ / / \ \ | |__ __ __ __ _ / /__/\ | __ __ __ __| | __ __ __ __| / /__ _ __\ \ |_ __ __ __ _ | / ___ / | \ | | / _ _ _ _ _ _ \ | | \/ / / | |\ \ | | / / \ \ | | / / | | \ \ | | / / \ \ | | / / | | \ \ | | / / \ \ | | / / | | \ \__ __ _ | | / / \ \ _ __ __ __ _| | / / |_| \__ __ __\ |_| /_/ \_\ /_ __ __ __ ___| \/ team Attaching package: 'Rfast' The following object is masked from 'package:data.table': transpose Loading required package: foreach Loading required package: rngtools starting worker pid=160648 on localhost:11059 at 13:27:22.609 starting worker pid=51244 on localhost:11059 at 13:27:22.643 Loading required package: simDAG loaded simDAG and set parent environment Loading required package: Rcpp Loading required package: RcppZiggurat Loading required package: RcppParallel Attaching package: 'RcppParallel' The following object is masked from 'package:Rcpp': LdFlags Rfast: 2.1.0 ___ __ __ __ __ __ __ __ __ __ _ _ __ __ __ __ __ __ __ __ __ __ __ | __ __ __ __ | | __ __ __ __ _/ / \ | __ __ __ __ / /__ __ _ _ __ __\ | | | | | | / _ \ | | / / | | | | | | / / \ \ | | / / | | | | | | / / \ \ | | / / | |__ __ __ __| | | |__ __ __ __ / / \ \ | |__ __ __ __ _ / /__/\ | __ __ __ __| | __ __ __ __| / /__ _ __\ \ |_ __ __ __ _ | / ___ / | \ | | / _ _ _ _ _ _ \ | | \/ / / | |\ \ | | / / \ \ | | / / | | \ \ | | / / \ \ | | / / | | \ \ | | / / \ \ | | / / | | \ \__ __ _ | | / / \ \ _ __ __ __ _| | / / |_| \__ __ __\ |_| /_/ \_\ /_ __ __ __ ___| \/ team Attaching package: 'Rfast' The following object is masked from 'package:data.table': transpose Loading required package: foreach Loading required package: rngtools Loading required package: simDAG loaded simDAG and set parent environment Loading required package: Rcpp Loading required package: RcppZiggurat Loading required package: RcppParallel Attaching package: 'RcppParallel' The following object is masked from 'package:Rcpp': LdFlags Rfast: 2.1.0 ___ __ __ __ __ __ __ __ __ __ _ _ __ __ __ __ __ __ __ __ __ __ __ | __ __ __ __ | | __ __ __ __ _/ / \ | __ __ __ __ / /__ __ _ _ __ __\ | | | | | | / _ \ | | / / | | | | | | / / \ \ | | / / | | | | | | / / \ \ | | / / | |__ __ __ __| | | |__ __ __ __ / / \ \ | |__ __ __ __ _ / /__/\ | __ __ __ __| | __ __ __ __| / /__ _ __\ \ |_ __ __ __ _ | / ___ / | \ | | / _ _ _ _ _ _ \ | | \/ / / | |\ \ | | / / \ \ | | / / | | \ \ | | / / \ \ | | / / | | \ \ | | / / \ \ | | / / | | \ \__ __ _ | | / / \ \ _ __ __ __ _| | / / |_| \__ __ __\ |_| /_/ \_\ /_ __ __ __ ___| \/ team Attaching package: 'Rfast' The following object is masked from 'package:data.table': transpose Loading required package: foreach Loading required package: rngtools [ FAIL 2 | WARN 14 | SKIP 43 | PASS 563 ] ══ 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): column(s) 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:128: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): column(s) 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:128: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 563 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [14s] OK * checking PDF version of manual ... [23s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR