Running 'testthat.R' [225s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(ctsem)
  Loading required package: Rcpp
  ctsem also changes in time, for manual run ctDocs(), for blog see https://cdriver.netlify.app/, for citation info run citation('ctsem'), for original OpenMx functionality install.packages('ctsemOMX'), and for discussion https://github.com/cdriveraus/ctsem/discussions
  > pdf(NULL)
  >  test_check("ctsem")
       [,1] [,2]  
  [1,]  "0"    "0"
  [2,]  "0" "diff"
       [,1]
  [1,]  "0"
       [,1]  
  [1,]    "0"
  [2,] "cint"
  starting worker pid=103776 on localhost:11362 at 16:37:40.943
  starting worker pid=77360 on localhost:11362 at 16:37:40.996
  Loading required package: data.table
  Loading required package: data.table
  starting worker pid=66336 on localhost:11362 at 16:37:58.478
  starting worker pid=21688 on localhost:11362 at 16:37:58.495
  Loading required package: data.table
  Loading required package: data.table
  starting worker pid=25220 on localhost:11362 at 16:38:08.768
  starting worker pid=29224 on localhost:11362 at 16:38:08.986
  
  SAMPLING FOR MODEL 'ctsm' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0.003872 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 38.72 seconds.
  Chain 1: Adjust your expectations accordingly!
  Chain 1: 
  Chain 1: 
  Chain 1: Iteration:   1 / 300 [  0%]  (Warmup)
  
  SAMPLING FOR MODEL 'ctsm' NOW (CHAIN 2).
  Chain 2: 
  Chain 2: Gradient evaluation took 0.004402 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 44.02 seconds.
  Chain 2: Adjust your expectations accordingly!
  Chain 2: 
  Chain 2: 
  Chain 2: Iteration:   1 / 300 [  0%]  (Warmup)
  Chain 2: Iteration:  20 / 300 [  6%]  (Warmup)
  Chain 1: Iteration:  20 / 300 [  6%]  (Warmup)
  Chain 2: Iteration:  40 / 300 [ 13%]  (Warmup)
  Chain 1: Iteration:  40 / 300 [ 13%]  (Warmup)
  Chain 2: Iteration:  60 / 300 [ 20%]  (Warmup)
  Chain 2: Iteration:  80 / 300 [ 26%]  (Warmup)
  Chain 1: Iteration:  60 / 300 [ 20%]  (Warmup)
  Chain 2: Iteration: 100 / 300 [ 33%]  (Warmup)
  Chain 1: Iteration:  80 / 300 [ 26%]  (Warmup)
  Chain 2: Iteration: 120 / 300 [ 40%]  (Warmup)
  Chain 1: Iteration: 100 / 300 [ 33%]  (Warmup)
  Chain 2: Iteration: 140 / 300 [ 46%]  (Warmup)
  Chain 2: Iteration: 151 / 300 [ 50%]  (Sampling)
  Chain 1: Iteration: 120 / 300 [ 40%]  (Warmup)
  Chain 2: Iteration: 170 / 300 [ 56%]  (Sampling)
  Chain 1: Iteration: 140 / 300 [ 46%]  (Warmup)
  Chain 1: Iteration: 151 / 300 [ 50%]  (Sampling)
  Chain 2: Iteration: 190 / 300 [ 63%]  (Sampling)
  Chain 1: Iteration: 170 / 300 [ 56%]  (Sampling)
  Chain 2: Iteration: 210 / 300 [ 70%]  (Sampling)
  Chain 1: Iteration: 190 / 300 [ 63%]  (Sampling)
  Chain 2: Iteration: 230 / 300 [ 76%]  (Sampling)
  Chain 1: Iteration: 210 / 300 [ 70%]  (Sampling)
  Chain 2: Iteration: 250 / 300 [ 83%]  (Sampling)
  Chain 1: Iteration: 230 / 300 [ 76%]  (Sampling)
  Chain 2: Iteration: 270 / 300 [ 90%]  (Sampling)
  Chain 1: Iteration: 250 / 300 [ 83%]  (Sampling)
  Chain 2: Iteration: 290 / 300 [ 96%]  (Sampling)
  Chain 2: Iteration: 300 / 300 [100%]  (Sampling)
  Chain 2: 
  Chain 2:  Elapsed Time: 15.53 seconds (Warm-up)
  Chain 2:                9.551 seconds (Sampling)
  Chain 2:                25.081 seconds (Total)
  Chain 2: 
  Chain 1: Iteration: 270 / 300 [ 90%]  (Sampling)
  Chain 1: Iteration: 290 / 300 [ 96%]  (Sampling)
  Chain 1: Iteration: 300 / 300 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 18.337 seconds (Warm-up)
  Chain 1:                10.087 seconds (Sampling)
  Chain 1:                28.424 seconds (Total)
  Chain 1: 
  [ FAIL 0 | WARN 0 | SKIP 0 | PASS 8 ]
  > 
  > proc.time()
     user  system elapsed 
    28.26    0.93   78.37