Running 'testthat.R' [252s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(truncnormbayes)
  > 
  > test_check("truncnormbayes")
  
  SAMPLING FOR MODEL 'trunc_est' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0.002 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 20 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: 4.627 seconds (Warm-up)
  Chain 1:                4.929 seconds (Sampling)
  Chain 1:                9.556 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'trunc_est' NOW (CHAIN 2).
  Chain 2: 
  Chain 2: Gradient evaluation took 0.002 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 20 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: 4.73 seconds (Warm-up)
  Chain 2:                4.012 seconds (Sampling)
  Chain 2:                8.742 seconds (Total)
  Chain 2: 
  
  SAMPLING FOR MODEL 'trunc_est' NOW (CHAIN 3).
  Chain 3: 
  Chain 3: Gradient evaluation took 0.002 seconds
  Chain 3: 1000 transitions using 10 leapfrog steps per transition would take 20 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: 4.577 seconds (Warm-up)
  Chain 3:                5.078 seconds (Sampling)
  Chain 3:                9.655 seconds (Total)
  Chain 3: 
  
  SAMPLING FOR MODEL 'trunc_est' NOW (CHAIN 4).
  Chain 4: 
  Chain 4: Gradient evaluation took 0.001 seconds
  Chain 4: 1000 transitions using 10 leapfrog steps per transition would take 10 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: 4.717 seconds (Warm-up)
  Chain 4:                4.835 seconds (Sampling)
  Chain 4:                9.552 seconds (Total)
  Chain 4: 
  estimated: mu = -0.02, sigma = 1.02
  actual: mu = 0.00, sigma = 1.00
  
  SAMPLING FOR MODEL 'trunc_est' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0.001 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 10 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: 4.631 seconds (Warm-up)
  Chain 1:                4.896 seconds (Sampling)
  Chain 1:                9.527 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'trunc_est' NOW (CHAIN 2).
  Chain 2: 
  Chain 2: Gradient evaluation took 0.001 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 10 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: 4.655 seconds (Warm-up)
  Chain 2:                4.956 seconds (Sampling)
  Chain 2:                9.611 seconds (Total)
  Chain 2: 
  
  SAMPLING FOR MODEL 'trunc_est' NOW (CHAIN 3).
  Chain 3: 
  Chain 3: Gradient evaluation took 0.002 seconds
  Chain 3: 1000 transitions using 10 leapfrog steps per transition would take 20 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: 4.699 seconds (Warm-up)
  Chain 3:                3.911 seconds (Sampling)
  Chain 3:                8.61 seconds (Total)
  Chain 3: 
  
  SAMPLING FOR MODEL 'trunc_est' NOW (CHAIN 4).
  Chain 4: 
  Chain 4: Gradient evaluation took 0.001 seconds
  Chain 4: 1000 transitions using 10 leapfrog steps per transition would take 10 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: 4.681 seconds (Warm-up)
  Chain 4:                4.689 seconds (Sampling)
  Chain 4:                9.37 seconds (Total)
  Chain 4: 
  estimated: mu = 1.01, sigma = 0.50
  actual: mu = 1.00, sigma = 0.50
  
  SAMPLING FOR MODEL 'trunc_est' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0.001 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 10 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: 5.393 seconds (Warm-up)
  Chain 1:                5.153 seconds (Sampling)
  Chain 1:                10.546 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'trunc_est' NOW (CHAIN 2).
  Chain 2: 
  Chain 2: Gradient evaluation took 0.001 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 10 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: 5.569 seconds (Warm-up)
  Chain 2:                5.13 seconds (Sampling)
  Chain 2:                10.699 seconds (Total)
  Chain 2: 
  
  SAMPLING FOR MODEL 'trunc_est' NOW (CHAIN 3).
  Chain 3: 
  Chain 3: Gradient evaluation took 0.001 seconds
  Chain 3: 1000 transitions using 10 leapfrog steps per transition would take 10 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: 5.386 seconds (Warm-up)
  Chain 3:                6.249 seconds (Sampling)
  Chain 3:                11.635 seconds (Total)
  Chain 3: 
  
  SAMPLING FOR MODEL 'trunc_est' NOW (CHAIN 4).
  Chain 4: 
  Chain 4: Gradient evaluation took 0.001 seconds
  Chain 4: 1000 transitions using 10 leapfrog steps per transition would take 10 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: 5.824 seconds (Warm-up)
  Chain 4:                5.767 seconds (Sampling)
  Chain 4:                11.591 seconds (Total)
  Chain 4: 
  estimated: mu = -0.06, sigma = 0.97
  actual: mu = 0.00, sigma = 1.00
  
  SAMPLING FOR MODEL 'trunc_est' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0.002 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 20 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: 5.628 seconds (Warm-up)
  Chain 1:                5.538 seconds (Sampling)
  Chain 1:                11.166 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'trunc_est' NOW (CHAIN 2).
  Chain 2: 
  Chain 2: Gradient evaluation took 0.001 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 10 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: 5.893 seconds (Warm-up)
  Chain 2:                5.245 seconds (Sampling)
  Chain 2:                11.138 seconds (Total)
  Chain 2: 
  
  SAMPLING FOR MODEL 'trunc_est' NOW (CHAIN 3).
  Chain 3: 
  Chain 3: Gradient evaluation took 0.002 seconds
  Chain 3: 1000 transitions using 10 leapfrog steps per transition would take 20 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: 5.532 seconds (Warm-up)
  Chain 3:                5.029 seconds (Sampling)
  Chain 3:                10.561 seconds (Total)
  Chain 3: 
  
  SAMPLING FOR MODEL 'trunc_est' NOW (CHAIN 4).
  Chain 4: 
  Chain 4: Gradient evaluation took 0.001 seconds
  Chain 4: 1000 transitions using 10 leapfrog steps per transition would take 10 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: 5.708 seconds (Warm-up)
  Chain 4:                5.282 seconds (Sampling)
  Chain 4:                10.99 seconds (Total)
  Chain 4: 
  estimated: mu = 1.04, sigma = 0.53
  actual: mu = 1.00, sigma = 0.50
  
  SAMPLING FOR MODEL 'trunc_est' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0.001 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 10 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: 4.949 seconds (Warm-up)
  Chain 1:                4.997 seconds (Sampling)
  Chain 1:                9.946 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'trunc_est' NOW (CHAIN 2).
  Chain 2: 
  Chain 2: Gradient evaluation took 0.002 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 20 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: 5.075 seconds (Warm-up)
  Chain 2:                4.903 seconds (Sampling)
  Chain 2:                9.978 seconds (Total)
  Chain 2: 
  
  SAMPLING FOR MODEL 'trunc_est' NOW (CHAIN 3).
  Chain 3: 
  Chain 3: Gradient evaluation took 0.001 seconds
  Chain 3: 1000 transitions using 10 leapfrog steps per transition would take 10 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: 5.051 seconds (Warm-up)
  Chain 3:                5.21 seconds (Sampling)
  Chain 3:                10.261 seconds (Total)
  Chain 3: 
  
  SAMPLING FOR MODEL 'trunc_est' NOW (CHAIN 4).
  Chain 4: 
  Chain 4: Gradient evaluation took 0.001 seconds
  Chain 4: 1000 transitions using 10 leapfrog steps per transition would take 10 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: 4.83 seconds (Warm-up)
  Chain 4:                4.756 seconds (Sampling)
  Chain 4:                9.586 seconds (Total)
  Chain 4: 
  estimated: mu = 0.10, sigma = 1.00
  actual: mu = 0.00, sigma = 1.00
  
  SAMPLING FOR MODEL 'trunc_est' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0.001 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 10 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: 5.49 seconds (Warm-up)
  Chain 1:                5.783 seconds (Sampling)
  Chain 1:                11.273 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'trunc_est' NOW (CHAIN 2).
  Chain 2: 
  Chain 2: Gradient evaluation took 0.001 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 10 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: 5.467 seconds (Warm-up)
  Chain 2:                5.558 seconds (Sampling)
  Chain 2:                11.025 seconds (Total)
  Chain 2: 
  
  SAMPLING FOR MODEL 'trunc_est' NOW (CHAIN 3).
  Chain 3: 
  Chain 3: Gradient evaluation took 0.001 seconds
  Chain 3: 1000 transitions using 10 leapfrog steps per transition would take 10 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: 5.335 seconds (Warm-up)
  Chain 3:                4.95 seconds (Sampling)
  Chain 3:                10.285 seconds (Total)
  Chain 3: 
  
  SAMPLING FOR MODEL 'trunc_est' NOW (CHAIN 4).
  Chain 4: 
  Chain 4: Gradient evaluation took 0.001 seconds
  Chain 4: 1000 transitions using 10 leapfrog steps per transition would take 10 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: 5.41 seconds (Warm-up)
  Chain 4:                4.942 seconds (Sampling)
  Chain 4:                10.352 seconds (Total)
  Chain 4: 
  estimated: mu = -0.02, sigma = 0.98
  actual: mu = 0.00, sigma = 1.00
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 16 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-models.R:45:3): trunc_est [truncated left] [standard normal] ──
  modes[1] (`actual`) not equal to `mu` (`expected`).
  
    `actual`: 0.1
  `expected`: 0.0
  Backtrace:
      ▆
   1. └─truncnormbayes (local) check_estimates(mu = 0, sigma = 1, a = -2, b = 10) at test-models.R:45:2
   2.   └─testthat::expect_equal(modes[1], mu, tolerance = tolerance) at test-models.R:24:2
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 16 ]
  Error: Test failures
  Execution halted