R Under development (unstable) (2024-04-24 r86484 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > > library(CausalQueries) Loading required package: dplyr Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union Loading required package: Rcpp > > test_check("CausalQueries") SAMPLING FOR MODEL 'simplexes' NOW (CHAIN 1). Chain 1: Chain 1: Gradient evaluation took 6.7e-05 seconds Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.67 seconds. Chain 1: Adjust your expectations accordingly! Chain 1: Chain 1: Chain 1: Iteration: 1 / 2000 [ 0%] (Warmup) Chain 1: Iteration: 200 / 2000 [ 10%] (Warmup) Chain 1: Iteration: 400 / 2000 [ 20%] (Warmup) Chain 1: Iteration: 600 / 2000 [ 30%] (Warmup) Chain 1: Iteration: 800 / 2000 [ 40%] (Warmup) Chain 1: Iteration: 1000 / 2000 [ 50%] (Warmup) Chain 1: Iteration: 1001 / 2000 [ 50%] (Sampling) Chain 1: Iteration: 1200 / 2000 [ 60%] (Sampling) Chain 1: Iteration: 1400 / 2000 [ 70%] (Sampling) Chain 1: Iteration: 1600 / 2000 [ 80%] (Sampling) Chain 1: Iteration: 1800 / 2000 [ 90%] (Sampling) Chain 1: Iteration: 2000 / 2000 [100%] (Sampling) Chain 1: Chain 1: Elapsed Time: 0.226 seconds (Warm-up) Chain 1: 0.178 seconds (Sampling) Chain 1: 0.404 seconds (Total) Chain 1: SAMPLING FOR MODEL 'simplexes' NOW (CHAIN 2). Chain 2: Chain 2: Gradient evaluation took 3.1e-05 seconds Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0.31 seconds. Chain 2: Adjust your expectations accordingly! Chain 2: Chain 2: Chain 2: Iteration: 1 / 2000 [ 0%] (Warmup) Chain 2: Iteration: 200 / 2000 [ 10%] (Warmup) Chain 2: Iteration: 400 / 2000 [ 20%] (Warmup) Chain 2: Iteration: 600 / 2000 [ 30%] (Warmup) Chain 2: Iteration: 800 / 2000 [ 40%] (Warmup) Chain 2: Iteration: 1000 / 2000 [ 50%] (Warmup) Chain 2: Iteration: 1001 / 2000 [ 50%] (Sampling) Chain 2: Iteration: 1200 / 2000 [ 60%] (Sampling) Chain 2: Iteration: 1400 / 2000 [ 70%] (Sampling) Chain 2: Iteration: 1600 / 2000 [ 80%] (Sampling) Chain 2: Iteration: 1800 / 2000 [ 90%] (Sampling) Chain 2: Iteration: 2000 / 2000 [100%] (Sampling) Chain 2: Chain 2: Elapsed Time: 0.214 seconds (Warm-up) Chain 2: 0.197 seconds (Sampling) Chain 2: 0.411 seconds (Total) Chain 2: SAMPLING FOR MODEL 'simplexes' NOW (CHAIN 3). Chain 3: Chain 3: Gradient evaluation took 1.7e-05 seconds Chain 3: 1000 transitions using 10 leapfrog steps per transition would take 0.17 seconds. Chain 3: Adjust your expectations accordingly! Chain 3: Chain 3: Chain 3: Iteration: 1 / 2000 [ 0%] (Warmup) Chain 3: Iteration: 200 / 2000 [ 10%] (Warmup) Chain 3: Iteration: 400 / 2000 [ 20%] (Warmup) Chain 3: Iteration: 600 / 2000 [ 30%] (Warmup) Chain 3: Iteration: 800 / 2000 [ 40%] (Warmup) Chain 3: Iteration: 1000 / 2000 [ 50%] (Warmup) Chain 3: Iteration: 1001 / 2000 [ 50%] (Sampling) Chain 3: Iteration: 1200 / 2000 [ 60%] (Sampling) Chain 3: Iteration: 1400 / 2000 [ 70%] (Sampling) Chain 3: Iteration: 1600 / 2000 [ 80%] (Sampling) Chain 3: Iteration: 1800 / 2000 [ 90%] (Sampling) Chain 3: Iteration: 2000 / 2000 [100%] (Sampling) Chain 3: Chain 3: Elapsed Time: 0.195 seconds (Warm-up) Chain 3: 0.219 seconds (Sampling) Chain 3: 0.414 seconds (Total) Chain 3: SAMPLING FOR MODEL 'simplexes' NOW (CHAIN 4). Chain 4: Chain 4: Gradient evaluation took 2.3e-05 seconds Chain 4: 1000 transitions using 10 leapfrog steps per transition would take 0.23 seconds. Chain 4: Adjust your expectations accordingly! Chain 4: Chain 4: Chain 4: Iteration: 1 / 2000 [ 0%] (Warmup) Chain 4: Iteration: 200 / 2000 [ 10%] (Warmup) Chain 4: Iteration: 400 / 2000 [ 20%] (Warmup) Chain 4: Iteration: 600 / 2000 [ 30%] (Warmup) Chain 4: Iteration: 800 / 2000 [ 40%] (Warmup) Chain 4: Iteration: 1000 / 2000 [ 50%] (Warmup) Chain 4: Iteration: 1001 / 2000 [ 50%] (Sampling) Chain 4: Iteration: 1200 / 2000 [ 60%] (Sampling) Chain 4: Iteration: 1400 / 2000 [ 70%] (Sampling) Chain 4: Iteration: 1600 / 2000 [ 80%] (Sampling) Chain 4: Iteration: 1800 / 2000 [ 90%] (Sampling) Chain 4: Iteration: 2000 / 2000 [100%] (Sampling) Chain 4: Chain 4: Elapsed Time: 0.205 seconds (Warm-up) Chain 4: 0.143 seconds (Sampling) Chain 4: 0.348 seconds (Total) Chain 4: [ FAIL 0 | WARN 0 | SKIP 36 | PASS 51 ] ══ Skipped tests (36) ══════════════════════════════════════════════════════════ • On CRAN (36): 'test_data_helpers.R:9:1', 'test_data_strategy.R:9:1', 'test_draw_causal_type.R:5:1', 'test_get_ambiguity_matrix.R:8:1', 'test_get_causal_types.R:8:1', 'test_get_event_prob.R:9:1', 'test_get_nodal_types.R:9:1', 'test_get_query_types.R:8:1', 'test_get_type_prob.R:8:1', 'test_get_types.R:8:1', 'test_grab.R:4:1', 'test_helpers.R:7:1', 'test_layering.R:9:1', 'test_lookuptype.R:10:1', 'test_make_data.R:4:1', 'test_make_events.R:5:1', 'test_make_model.R:3:1', 'test_map_query_to_causal_types.R:8:1', 'test_map_query_to_nodal_type.R:9:1', 'test_methods.R:4:1', 'test_misc.R:8:1', 'test_observe.R:9:1', 'test_parmap.R:3:1', 'test_plot_dag.R:3:1', 'test_prep_stan_data.R:8:1', 'test_query_helpers.R:8:1', 'test_query_model.R:4:1', 'test_restrictions.R:8:1', 'test_reveal_outcomes.R:8:1', 'test_set_confound.R:3:1', 'test_set_parameter_matrix.R:8:1', 'test_set_parameters.R:8:1', 'test_set_prior_distribution.R:9:1', 'test_set_priors.R:4:1', 'test_set_restrictions.R:6:1', 'test_update_model.R:9:1' [ FAIL 0 | WARN 0 | SKIP 36 | PASS 51 ] > > if (length(strsplit(packageDescription("CausalQueries")$Version, "\\.")[[1]]) > 3) { + Sys.setenv("RunAllRcppTests"="yes") + } > > proc.time() user system elapsed 8.06 0.54 7.98