Running 'testthat.R' [109s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > 
  > library(testthat)
  > library(rmdcev)
  Loading required package: Rcpp
  This is rmdcev version 1.2.5
  > test_check("rmdcev")
  
  SAMPLING FOR MODEL 'mdcev' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0.006155 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 61.55 seconds.
  Chain 1: Adjust your expectations accordingly!
  Chain 1: 
  Chain 1: 
  Chain 1: WARNING: No variance estimation is
  Chain 1:          performed for num_warmup < 20
  Chain 1: 
  Chain 1: Iteration: 1 / 10 [ 10%]  (Warmup)
  Chain 1: Iteration: 2 / 10 [ 20%]  (Warmup)
  Chain 1: Iteration: 3 / 10 [ 30%]  (Warmup)
  Chain 1: Iteration: 4 / 10 [ 40%]  (Warmup)
  Chain 1: Iteration: 5 / 10 [ 50%]  (Warmup)
  Chain 1: Iteration: 6 / 10 [ 60%]  (Sampling)
  Chain 1: Iteration: 7 / 10 [ 70%]  (Sampling)
  Chain 1: Iteration: 8 / 10 [ 80%]  (Sampling)
  Chain 1: Iteration: 9 / 10 [ 90%]  (Sampling)
  Chain 1: Iteration: 10 / 10 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0.086 seconds (Warm-up)
  Chain 1:                0.021 seconds (Sampling)
  Chain 1:                0.107 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'mdcev' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0.003389 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 33.89 seconds.
  Chain 1: Adjust your expectations accordingly!
  Chain 1: 
  Chain 1: 
  Chain 1: WARNING: No variance estimation is
  Chain 1:          performed for num_warmup < 20
  Chain 1: 
  Chain 1: Iteration: 1 / 10 [ 10%]  (Warmup)
  Chain 1: Iteration: 2 / 10 [ 20%]  (Warmup)
  Chain 1: Iteration: 3 / 10 [ 30%]  (Warmup)
  Chain 1: Iteration: 4 / 10 [ 40%]  (Warmup)
  Chain 1: Iteration: 5 / 10 [ 50%]  (Warmup)
  Chain 1: Iteration: 6 / 10 [ 60%]  (Sampling)
  Chain 1: Iteration: 7 / 10 [ 70%]  (Sampling)
  Chain 1: Iteration: 8 / 10 [ 80%]  (Sampling)
  Chain 1: Iteration: 9 / 10 [ 90%]  (Sampling)
  Chain 1: Iteration: 10 / 10 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0.039 seconds (Warm-up)
  Chain 1:                0.039 seconds (Sampling)
  Chain 1:                0.078 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'mdcev_rp' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0.006683 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 66.83 seconds.
  Chain 1: Adjust your expectations accordingly!
  Chain 1: 
  Chain 1: 
  Chain 1: WARNING: No variance estimation is
  Chain 1:          performed for num_warmup < 20
  Chain 1: 
  Chain 1: Iteration: 1 / 10 [ 10%]  (Warmup)
  Chain 1: Iteration: 2 / 10 [ 20%]  (Warmup)
  Chain 1: Iteration: 3 / 10 [ 30%]  (Warmup)
  Chain 1: Iteration: 4 / 10 [ 40%]  (Warmup)
  Chain 1: Iteration: 5 / 10 [ 50%]  (Warmup)
  Chain 1: Iteration: 6 / 10 [ 60%]  (Sampling)
  Chain 1: Iteration: 7 / 10 [ 70%]  (Sampling)
  Chain 1: Iteration: 8 / 10 [ 80%]  (Sampling)
  Chain 1: Iteration: 9 / 10 [ 90%]  (Sampling)
  Chain 1: Iteration: 10 / 10 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 1.554 seconds (Warm-up)
  Chain 1:                0.094 seconds (Sampling)
  Chain 1:                1.648 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'mdcev_rp' NOW (CHAIN 1).
  Chain 1: Rejecting initial value:
  Chain 1:   Log probability evaluates to log(0), i.e. negative infinity.
  Chain 1:   Stan can't start sampling from this initial value.
  Chain 1: 
  Chain 1: Gradient evaluation took 0.003423 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 34.23 seconds.
  Chain 1: Adjust your expectations accordingly!
  Chain 1: 
  Chain 1: 
  Chain 1: WARNING: No variance estimation is
  Chain 1:          performed for num_warmup < 20
  Chain 1: 
  Chain 1: Iteration: 1 / 10 [ 10%]  (Warmup)
  Chain 1: Iteration: 2 / 10 [ 20%]  (Warmup)
  Chain 1: Iteration: 3 / 10 [ 30%]  (Warmup)
  Chain 1: Iteration: 4 / 10 [ 40%]  (Warmup)
  Chain 1: Iteration: 5 / 10 [ 50%]  (Warmup)
  Chain 1: Iteration: 6 / 10 [ 60%]  (Sampling)
  Chain 1: Iteration: 7 / 10 [ 70%]  (Sampling)
  Chain 1: Iteration: 8 / 10 [ 80%]  (Sampling)
  Chain 1: Iteration: 9 / 10 [ 90%]  (Sampling)
  Chain 1: Iteration: 10 / 10 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0.32 seconds (Warm-up)
  Chain 1:                0.107 seconds (Sampling)
  Chain 1:                0.427 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'mdcev_rp' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0.003233 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 32.33 seconds.
  Chain 1: Adjust your expectations accordingly!
  Chain 1: 
  Chain 1: 
  Chain 1: WARNING: No variance estimation is
  Chain 1:          performed for num_warmup < 20
  Chain 1: 
  Chain 1: Iteration: 1 / 10 [ 10%]  (Warmup)
  Chain 1: Iteration: 2 / 10 [ 20%]  (Warmup)
  Chain 1: Iteration: 3 / 10 [ 30%]  (Warmup)
  Chain 1: Iteration: 4 / 10 [ 40%]  (Warmup)
  Chain 1: Iteration: 5 / 10 [ 50%]  (Warmup)
  Chain 1: Iteration: 6 / 10 [ 60%]  (Sampling)
  Chain 1: Iteration: 7 / 10 [ 70%]  (Sampling)
  Chain 1: Iteration: 8 / 10 [ 80%]  (Sampling)
  Chain 1: Iteration: 9 / 10 [ 90%]  (Sampling)
  Chain 1: Iteration: 10 / 10 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0.785 seconds (Warm-up)
  Chain 1:                0.039 seconds (Sampling)
  Chain 1:                0.824 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'mdcev' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0.001911 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 19.11 seconds.
  Chain 1: Adjust your expectations accordingly!
  Chain 1: 
  Chain 1: 
  Chain 1: WARNING: No variance estimation is
  Chain 1:          performed for num_warmup < 20
  Chain 1: 
  Chain 1: Iteration: 1 / 10 [ 10%]  (Warmup)
  Chain 1: Iteration: 2 / 10 [ 20%]  (Warmup)
  Chain 1: Iteration: 3 / 10 [ 30%]  (Warmup)
  Chain 1: Iteration: 4 / 10 [ 40%]  (Warmup)
  Chain 1: Iteration: 5 / 10 [ 50%]  (Warmup)
  Chain 1: Iteration: 6 / 10 [ 60%]  (Sampling)
  Chain 1: Iteration: 7 / 10 [ 70%]  (Sampling)
  Chain 1: Iteration: 8 / 10 [ 80%]  (Sampling)
  Chain 1: Iteration: 9 / 10 [ 90%]  (Sampling)
  Chain 1: Iteration: 10 / 10 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0.033 seconds (Warm-up)
  Chain 1:                0.016 seconds (Sampling)
  Chain 1:                0.049 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'mdcev_rp' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0.003522 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 35.22 seconds.
  Chain 1: Adjust your expectations accordingly!
  Chain 1: 
  Chain 1: 
  Chain 1: WARNING: No variance estimation is
  Chain 1:          performed for num_warmup < 20
  Chain 1: 
  Chain 1: Iteration: 1 / 10 [ 10%]  (Warmup)
  Chain 1: Iteration: 2 / 10 [ 20%]  (Warmup)
  Chain 1: Iteration: 3 / 10 [ 30%]  (Warmup)
  Chain 1: Iteration: 4 / 10 [ 40%]  (Warmup)
  Chain 1: Iteration: 5 / 10 [ 50%]  (Warmup)
  Chain 1: Iteration: 6 / 10 [ 60%]  (Sampling)
  Chain 1: Iteration: 7 / 10 [ 70%]  (Sampling)
  Chain 1: Iteration: 8 / 10 [ 80%]  (Sampling)
  Chain 1: Iteration: 9 / 10 [ 90%]  (Sampling)
  Chain 1: Iteration: 10 / 10 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0.026 seconds (Warm-up)
  Chain 1:                0.025 seconds (Sampling)
  Chain 1:                0.051 seconds (Total)
  Chain 1: 
  [1] -2653.237036
  [1] 5467.655028
  [1] -2770.001936
  [1] 253.1987599
               [,1]
  [1,] -375.0261844
  [1] -5073.714415
   [1]  39   0   2   0   0  45   0 279   0   0   0   0   0   0   0   0   0
  [1] 0.6943688388
  [1] 29.77485721
              [,1]
  [1,] -41.6783403
              [,1]
  [1,] -41.6783403
  [ FAIL 1 | WARN 62 | SKIP 2 | PASS 84 ]
  
  ══ Skipped tests (2) ═══════════════════════════════════════════════════════════
  • empty test (2): 'test-data.R:24:1', 'test-kt_ee.R:253:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-simulations.R:211:2'): Conditional error hybrid draw ─────────
  abs(util - 29.58674801) < tol is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 1 | WARN 62 | SKIP 2 | PASS 84 ]
  Error: Test failures
  Execution halted