Running ‘testthat.R’ [139s/182s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(beyondWhittle)
  > 
  > test_check("beyondWhittle")
  [1] "MCMC iteration 500/2000 (CPU time: 0.65s)"
  [1] "MCMC iteration 1000/2000 (CPU time: 1.16s)"
  [1] "MCMC iteration 1500/2000 (CPU time: 1.78s)"
  [1] "MCMC iteration 2000/2000 (CPU time: 2.33s)"
  Precomputing beta basis functions .......... done!
  Precomputing beta basis functions .......... done!
  [1] "MCMC iteration 100/2000 (CPU time: 0.25s)"
  [1] "MCMC iteration 200/2000 (CPU time: 0.59s)"
  [1] "MCMC iteration 300/2000 (CPU time: 0.88s)"
  [1] "MCMC iteration 400/2000 (CPU time: 1.16s)"
  [1] "MCMC iteration 500/2000 (CPU time: 1.57s)"
  [1] "MCMC iteration 600/2000 (CPU time: 1.88s)"
  [1] "MCMC iteration 700/2000 (CPU time: 2.36s)"
  [1] "MCMC iteration 800/2000 (CPU time: 2.71s)"
  [1] "MCMC iteration 900/2000 (CPU time: 3s)"
  [1] "MCMC iteration 1000/2000 (CPU time: 3.35s)"
  [1] "MCMC iteration 1100/2000 (CPU time: 3.91s)"
  [1] "MCMC iteration 1200/2000 (CPU time: 4.36s)"
  [1] "MCMC iteration 1300/2000 (CPU time: 4.79s)"
  [1] "MCMC iteration 1400/2000 (CPU time: 5.22s)"
  [1] "MCMC iteration 1500/2000 (CPU time: 5.65s)"
  [1] "MCMC iteration 1600/2000 (CPU time: 6.15s)"
  [1] "MCMC iteration 1700/2000 (CPU time: 6.76s)"
  [1] "MCMC iteration 1800/2000 (CPU time: 7.24s)"
  [1] "MCMC iteration 1900/2000 (CPU time: 7.57s)"
  [1] "MCMC iteration 2000/2000 (CPU time: 7.97s)"
  Precomputing beta basis functions . done!
  Precomputing beta basis functions . done!
  Using standard Bernstein polynomials on ( 0.1 , 0.9 )
  Precomputing polynomial basis functions .................................................. done!
  [1] "MCMC iteration 100/2000 (CPU time: 1.96s)"
  [1] "MCMC iteration 200/2000 (CPU time: 4.25s)"
  [1] "MCMC iteration 300/2000 (CPU time: 6.15s)"
  [1] "MCMC iteration 400/2000 (CPU time: 7.75s)"
  [1] "MCMC iteration 500/2000 (CPU time: 9.51s)"
  [1] "MCMC iteration 600/2000 (CPU time: 11.26s)"
  [1] "MCMC iteration 700/2000 (CPU time: 12.97s)"
  [1] "MCMC iteration 800/2000 (CPU time: 14.76s)"
  [1] "MCMC iteration 900/2000 (CPU time: 16.48s)"
  [1] "MCMC iteration 1000/2000 (CPU time: 17.8s)"
  [1] "MCMC iteration 1100/2000 (CPU time: 19.59s)"
  [1] "MCMC iteration 1200/2000 (CPU time: 21.47s)"
  [1] "MCMC iteration 1300/2000 (CPU time: 22.74s)"
  [1] "MCMC iteration 1400/2000 (CPU time: 24.18s)"
  [1] "MCMC iteration 1500/2000 (CPU time: 25.68s)"
  [1] "MCMC iteration 1600/2000 (CPU time: 27.11s)"
  [1] "MCMC iteration 1700/2000 (CPU time: 28.67s)"
  [1] "MCMC iteration 1800/2000 (CPU time: 29.94s)"
  [1] "MCMC iteration 1900/2000 (CPU time: 31.29s)"
  [1] "MCMC iteration 2000/2000 (CPU time: 32.85s)"
  Using standard Bernstein polynomials on ( 0.1 , 0.9 )
  Precomputing polynomial basis functions .................................................. done!
  [1] "MCMC iteration 100/2000 (CPU time: 2.91s)"
  [1] "MCMC iteration 200/2000 (CPU time: 5.86s)"
  [1] "MCMC iteration 300/2000 (CPU time: 8.64s)"
  [1] "MCMC iteration 400/2000 (CPU time: 11.31s)"
  [1] "MCMC iteration 500/2000 (CPU time: 14.33s)"
  [1] "MCMC iteration 600/2000 (CPU time: 17.06s)"
  [1] "MCMC iteration 700/2000 (CPU time: 20.06s)"
  [1] "MCMC iteration 800/2000 (CPU time: 22.72s)"
  [1] "MCMC iteration 900/2000 (CPU time: 25.43s)"
  [1] "MCMC iteration 1000/2000 (CPU time: 28s)"
  [1] "MCMC iteration 1100/2000 (CPU time: 30.87s)"
  [1] "MCMC iteration 1200/2000 (CPU time: 33.33s)"
  [1] "MCMC iteration 1300/2000 (CPU time: 36.22s)"
  [1] "MCMC iteration 1400/2000 (CPU time: 39.13s)"
  [1] "MCMC iteration 1500/2000 (CPU time: 41.51s)"
  [1] "MCMC iteration 1600/2000 (CPU time: 44.02s)"
  [1] "MCMC iteration 1700/2000 (CPU time: 46.88s)"
  [1] "MCMC iteration 1800/2000 (CPU time: 49.64s)"
  [1] "MCMC iteration 1900/2000 (CPU time: 52.57s)"
  [1] "MCMC iteration 2000/2000 (CPU time: 55.18s)"
  [1] "MCMC iteration 500/2000 (CPU time: 6.05s)"
  [1] "MCMC iteration 1000/2000 (CPU time: 12.54s)"
  [1] "MCMC iteration 1500/2000 (CPU time: 19.07s)"
  [1] "MCMC iteration 2000/2000 (CPU time: 25.41s)"
  Using standard Bernstein polynomials on ( 0.1 , 0.9 )
  Precomputing polynomial basis functions .................................................. done!
  [1] "MCMC iteration 100/2000 (CPU time: 1s)"
  [1] "MCMC iteration 200/2000 (CPU time: 3.54s)"
  [1] "MCMC iteration 300/2000 (CPU time: 5.34s)"
  [1] "MCMC iteration 400/2000 (CPU time: 6.81s)"
  [1] "MCMC iteration 500/2000 (CPU time: 8.5s)"
  [1] "MCMC iteration 600/2000 (CPU time: 9.91s)"
  [1] "MCMC iteration 700/2000 (CPU time: 11.39s)"
  [1] "MCMC iteration 800/2000 (CPU time: 13.29s)"
  [1] "MCMC iteration 900/2000 (CPU time: 14.91s)"
  [1] "MCMC iteration 1000/2000 (CPU time: 16.5s)"
  [1] "MCMC iteration 1100/2000 (CPU time: 18.41s)"
  [1] "MCMC iteration 1200/2000 (CPU time: 20.11s)"
  [1] "MCMC iteration 1300/2000 (CPU time: 21.89s)"
  [1] "MCMC iteration 1400/2000 (CPU time: 23.63s)"
  [1] "MCMC iteration 1500/2000 (CPU time: 25.81s)"
  [1] "MCMC iteration 1600/2000 (CPU time: 27.6s)"
  [1] "MCMC iteration 1700/2000 (CPU time: 29.16s)"
  [1] "MCMC iteration 1800/2000 (CPU time: 31.04s)"
  [1] "MCMC iteration 1900/2000 (CPU time: 32.52s)"
  [1] "MCMC iteration 2000/2000 (CPU time: 34.18s)"
  Postprocessing...[1] "done!"
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 23 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('testGibbsVNP.R:8:3'): gibbs_vnp runs on sample white noise data ───
  any(is.na(mcmc$lpost)) is not FALSE
  
  `actual`:   TRUE 
  `expected`: FALSE
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 23 ]
  Error: Test failures
  Execution halted