Running ‘testthat.R’ [134s/163s]
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.63s)"
  [1] "MCMC iteration 1000/2000 (CPU time: 1.18s)"
  [1] "MCMC iteration 1500/2000 (CPU time: 1.84s)"
  [1] "MCMC iteration 2000/2000 (CPU time: 2.34s)"
  Precomputing beta basis functions .......... done!
  Precomputing beta basis functions .......... done!
  [1] "MCMC iteration 100/2000 (CPU time: 0.22s)"
  [1] "MCMC iteration 200/2000 (CPU time: 0.53s)"
  [1] "MCMC iteration 300/2000 (CPU time: 0.81s)"
  [1] "MCMC iteration 400/2000 (CPU time: 1.09s)"
  [1] "MCMC iteration 500/2000 (CPU time: 1.39s)"
  [1] "MCMC iteration 600/2000 (CPU time: 1.69s)"
  [1] "MCMC iteration 700/2000 (CPU time: 2.03s)"
  [1] "MCMC iteration 800/2000 (CPU time: 2.36s)"
  [1] "MCMC iteration 900/2000 (CPU time: 2.63s)"
  [1] "MCMC iteration 1000/2000 (CPU time: 2.95s)"
  [1] "MCMC iteration 1100/2000 (CPU time: 3.24s)"
  [1] "MCMC iteration 1200/2000 (CPU time: 3.62s)"
  [1] "MCMC iteration 1300/2000 (CPU time: 3.99s)"
  [1] "MCMC iteration 1400/2000 (CPU time: 4.31s)"
  [1] "MCMC iteration 1500/2000 (CPU time: 4.68s)"
  [1] "MCMC iteration 1600/2000 (CPU time: 5.09s)"
  [1] "MCMC iteration 1700/2000 (CPU time: 5.47s)"
  [1] "MCMC iteration 1800/2000 (CPU time: 5.74s)"
  [1] "MCMC iteration 1900/2000 (CPU time: 6.01s)"
  [1] "MCMC iteration 2000/2000 (CPU time: 6.28s)"
  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.42s)"
  [1] "MCMC iteration 200/2000 (CPU time: 2.8s)"
  [1] "MCMC iteration 300/2000 (CPU time: 4.33s)"
  [1] "MCMC iteration 400/2000 (CPU time: 5.84s)"
  [1] "MCMC iteration 500/2000 (CPU time: 7.04s)"
  [1] "MCMC iteration 600/2000 (CPU time: 8.5s)"
  [1] "MCMC iteration 700/2000 (CPU time: 9.89s)"
  [1] "MCMC iteration 800/2000 (CPU time: 11.45s)"
  [1] "MCMC iteration 900/2000 (CPU time: 12.85s)"
  [1] "MCMC iteration 1000/2000 (CPU time: 14.06s)"
  [1] "MCMC iteration 1100/2000 (CPU time: 15.83s)"
  [1] "MCMC iteration 1200/2000 (CPU time: 17.06s)"
  [1] "MCMC iteration 1300/2000 (CPU time: 18.2s)"
  [1] "MCMC iteration 1400/2000 (CPU time: 19.56s)"
  [1] "MCMC iteration 1500/2000 (CPU time: 21.21s)"
  [1] "MCMC iteration 1600/2000 (CPU time: 22.63s)"
  [1] "MCMC iteration 1700/2000 (CPU time: 23.88s)"
  [1] "MCMC iteration 1800/2000 (CPU time: 25.41s)"
  [1] "MCMC iteration 1900/2000 (CPU time: 26.61s)"
  [1] "MCMC iteration 2000/2000 (CPU time: 27.82s)"
  Using standard Bernstein polynomials on ( 0.1 , 0.9 )
  Precomputing polynomial basis functions .................................................. done!
  [1] "MCMC iteration 100/2000 (CPU time: 2.67s)"
  [1] "MCMC iteration 200/2000 (CPU time: 5.76s)"
  [1] "MCMC iteration 300/2000 (CPU time: 9.14s)"
  [1] "MCMC iteration 400/2000 (CPU time: 11.58s)"
  [1] "MCMC iteration 500/2000 (CPU time: 14.37s)"
  [1] "MCMC iteration 600/2000 (CPU time: 16.62s)"
  [1] "MCMC iteration 700/2000 (CPU time: 19.02s)"
  [1] "MCMC iteration 800/2000 (CPU time: 22s)"
  [1] "MCMC iteration 900/2000 (CPU time: 24.46s)"
  [1] "MCMC iteration 1000/2000 (CPU time: 26.69s)"
  [1] "MCMC iteration 1100/2000 (CPU time: 29.16s)"
  [1] "MCMC iteration 1200/2000 (CPU time: 31.64s)"
  [1] "MCMC iteration 1300/2000 (CPU time: 34.22s)"
  [1] "MCMC iteration 1400/2000 (CPU time: 36.74s)"
  [1] "MCMC iteration 1500/2000 (CPU time: 39.16s)"
  [1] "MCMC iteration 1600/2000 (CPU time: 41.75s)"
  [1] "MCMC iteration 1700/2000 (CPU time: 44.41s)"
  [1] "MCMC iteration 1800/2000 (CPU time: 46.99s)"
  [1] "MCMC iteration 1900/2000 (CPU time: 49.83s)"
  [1] "MCMC iteration 2000/2000 (CPU time: 53.14s)"
  [1] "MCMC iteration 500/2000 (CPU time: 5.34s)"
  [1] "MCMC iteration 1000/2000 (CPU time: 10.63s)"
  [1] "MCMC iteration 1500/2000 (CPU time: 16.1s)"
  [1] "MCMC iteration 2000/2000 (CPU time: 22.37s)"
  Using standard Bernstein polynomials on ( 0.1 , 0.9 )
  Precomputing polynomial basis functions .................................................. done!
  [1] "MCMC iteration 100/2000 (CPU time: 0.86s)"
  [1] "MCMC iteration 200/2000 (CPU time: 2.49s)"
  [1] "MCMC iteration 300/2000 (CPU time: 4.34s)"
  [1] "MCMC iteration 400/2000 (CPU time: 6.16s)"
  [1] "MCMC iteration 500/2000 (CPU time: 7.89s)"
  [1] "MCMC iteration 600/2000 (CPU time: 9.42s)"
  [1] "MCMC iteration 700/2000 (CPU time: 10.98s)"
  [1] "MCMC iteration 800/2000 (CPU time: 12.49s)"
  [1] "MCMC iteration 900/2000 (CPU time: 13.79s)"
  [1] "MCMC iteration 1000/2000 (CPU time: 15.16s)"
  [1] "MCMC iteration 1100/2000 (CPU time: 16.68s)"
  [1] "MCMC iteration 1200/2000 (CPU time: 18.21s)"
  [1] "MCMC iteration 1300/2000 (CPU time: 19.72s)"
  [1] "MCMC iteration 1400/2000 (CPU time: 21.48s)"
  [1] "MCMC iteration 1500/2000 (CPU time: 22.78s)"
  [1] "MCMC iteration 1600/2000 (CPU time: 24.14s)"
  [1] "MCMC iteration 1700/2000 (CPU time: 25.72s)"
  [1] "MCMC iteration 1800/2000 (CPU time: 27.24s)"
  [1] "MCMC iteration 1900/2000 (CPU time: 28.97s)"
  [1] "MCMC iteration 2000/2000 (CPU time: 30.31s)"
  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