Running ‘testthat.R’ [20m/31m]
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.000297 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 2.97 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.577 seconds (Warm-up)
  Chain 1:                0.961 seconds (Sampling)
  Chain 1:                2.538 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'phacking_rtma' NOW (CHAIN 2).
  Chain 2: 
  Chain 2: Gradient evaluation took 0.000169 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 1.69 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.523 seconds (Warm-up)
  Chain 2:                0.973 seconds (Sampling)
  Chain 2:                2.496 seconds (Total)
  Chain 2: 
  
  SAMPLING FOR MODEL 'phacking_rtma' NOW (CHAIN 3).
  Chain 3: 
  Chain 3: Gradient evaluation took 0.000283 seconds
  Chain 3: 1000 transitions using 10 leapfrog steps per transition would take 2.83 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.137 seconds (Warm-up)
  Chain 3:                1.109 seconds (Sampling)
  Chain 3:                2.246 seconds (Total)
  Chain 3: 
  
  SAMPLING FOR MODEL 'phacking_rtma' NOW (CHAIN 4).
  Chain 4: 
  Chain 4: Gradient evaluation took 0.000173 seconds
  Chain 4: 1000 transitions using 10 leapfrog steps per transition would take 1.73 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.069 seconds (Warm-up)
  Chain 4:                1.287 seconds (Sampling)
  Chain 4:                2.356 seconds (Total)
  Chain 4: 
  
  SAMPLING FOR MODEL 'phacking_rtma' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0.00025 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 2.5 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.814 seconds (Warm-up)
  Chain 1:                2.911 seconds (Sampling)
  Chain 1:                5.725 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'phacking_rtma' NOW (CHAIN 2).
  Chain 2: 
  Chain 2: Gradient evaluation took 0.000268 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 2.68 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: 2.344 seconds (Warm-up)
  Chain 2:                2.256 seconds (Sampling)
  Chain 2:                4.6 seconds (Total)
  Chain 2: 
  
  SAMPLING FOR MODEL 'phacking_rtma' NOW (CHAIN 3).
  Chain 3: 
  Chain 3: Gradient evaluation took 0.000194 seconds
  Chain 3: 1000 transitions using 10 leapfrog steps per transition would take 1.94 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.697 seconds (Warm-up)
  Chain 3:                2.558 seconds (Sampling)
  Chain 3:                5.255 seconds (Total)
  Chain 3: 
  
  SAMPLING FOR MODEL 'phacking_rtma' NOW (CHAIN 4).
  Chain 4: 
  Chain 4: Gradient evaluation took 0.000178 seconds
  Chain 4: 1000 transitions using 10 leapfrog steps per transition would take 1.78 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.358 seconds (Warm-up)
  Chain 4:                2.221 seconds (Sampling)
  Chain 4:                4.579 seconds (Total)
  Chain 4: 
  
  SAMPLING FOR MODEL 'phacking_rtma' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 2.9e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.29 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.088 seconds (Warm-up)
  Chain 1:                1.883 seconds (Sampling)
  Chain 1:                2.971 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'phacking_rtma' NOW (CHAIN 2).
  Chain 2: 
  Chain 2: Gradient evaluation took 1.1e-05 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0.11 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: 8.647 seconds (Warm-up)
  Chain 2:                0.289 seconds (Sampling)
  Chain 2:                8.936 seconds (Total)
  Chain 2: 
  
  SAMPLING FOR MODEL 'phacking_rtma' NOW (CHAIN 3).
  Chain 3: 
  Chain 3: Gradient evaluation took 2.1e-05 seconds
  Chain 3: 1000 transitions using 10 leapfrog steps per transition would take 0.21 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)
  Killed