Running ‘testthat.R’ [20m/23m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(phacking)
  > 
  > test_check("phacking")
  
  SAMPLING FOR MODEL 'phacking_rtma' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0.000407 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 4.07 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: 1.445 seconds (Warm-up)
  Chain 1:                1.326 seconds (Sampling)
  Chain 1:                2.771 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'phacking_rtma' NOW (CHAIN 2).
  Chain 2: 
  Chain 2: Gradient evaluation took 0.000283 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 2.83 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: 1.376 seconds (Warm-up)
  Chain 2:                0.935 seconds (Sampling)
  Chain 2:                2.311 seconds (Total)
  Chain 2: 
  
  SAMPLING FOR MODEL 'phacking_rtma' NOW (CHAIN 3).
  Chain 3: 
  Chain 3: Gradient evaluation took 0.000289 seconds
  Chain 3: 1000 transitions using 10 leapfrog steps per transition would take 2.89 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: 1.342 seconds (Warm-up)
  Chain 3:                1.249 seconds (Sampling)
  Chain 3:                2.591 seconds (Total)
  Chain 3: 
  
  SAMPLING FOR MODEL 'phacking_rtma' NOW (CHAIN 4).
  Chain 4: 
  Chain 4: Gradient evaluation took 0.000365 seconds
  Chain 4: 1000 transitions using 10 leapfrog steps per transition would take 3.65 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: 1.214 seconds (Warm-up)
  Chain 4:                1.193 seconds (Sampling)
  Chain 4:                2.407 seconds (Total)
  Chain 4: 
  
  SAMPLING FOR MODEL 'phacking_rtma' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0.000366 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 3.66 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: 2.266 seconds (Warm-up)
  Chain 1:                1.967 seconds (Sampling)
  Chain 1:                4.233 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'phacking_rtma' NOW (CHAIN 2).
  Chain 2: 
  Chain 2: Gradient evaluation took 0.000288 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 2.88 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: 3.118 seconds (Warm-up)
  Chain 2:                2.389 seconds (Sampling)
  Chain 2:                5.507 seconds (Total)
  Chain 2: 
  
  SAMPLING FOR MODEL 'phacking_rtma' NOW (CHAIN 3).
  Chain 3: 
  Chain 3: Gradient evaluation took 0.00024 seconds
  Chain 3: 1000 transitions using 10 leapfrog steps per transition would take 2.4 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: 2.045 seconds (Warm-up)
  Chain 3:                1.947 seconds (Sampling)
  Chain 3:                3.992 seconds (Total)
  Chain 3: 
  
  SAMPLING FOR MODEL 'phacking_rtma' NOW (CHAIN 4).
  Chain 4: 
  Chain 4: Gradient evaluation took 0.000309 seconds
  Chain 4: 1000 transitions using 10 leapfrog steps per transition would take 3.09 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: 2.174 seconds (Warm-up)
  Chain 4:                2.161 seconds (Sampling)
  Chain 4:                4.335 seconds (Total)
  Chain 4: 
  
  SAMPLING FOR MODEL 'phacking_rtma' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 3.2e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.32 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.357 seconds (Warm-up)
  Chain 1:                0.197 seconds (Sampling)
  Chain 1:                0.554 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'phacking_rtma' NOW (CHAIN 2).
  Chain 2: 
  Chain 2: Gradient evaluation took 3.5e-05 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0.35 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.993 seconds (Warm-up)
  Chain 2:                0.577 seconds (Sampling)
  Chain 2:                1.57 seconds (Total)
  Chain 2: 
  
  SAMPLING FOR MODEL 'phacking_rtma' NOW (CHAIN 3).
  Chain 3: 
  Chain 3: Gradient evaluation took 2.6e-05 seconds
  Chain 3: 1000 transitions using 10 leapfrog steps per transition would take 0.26 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)
  Killed