Running ‘testthat.R’ [347s/527s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(BTYDplus)
  > 
  > test_check("BTYDplus")
  Error in pnbd.cbs.LL(params = params, cal.cbs = cal.cbs, hardie = hardie) : 
    foo[1] == "x" & foo[2] == "t.x" & foo[3] == "T.cal" is not TRUE
  set param_init: 1, 1, 1, 1 
  running in parallel on 2 cores
  chain: 1 step: 100 of 110 
  chain: 2 step: 100 of 110 
  running in parallel on 2 cores
  chain: 2 step: 100 of 110 
  chain: 1 step: 100 of 110 
  Error in pnbd.cbs.LL(params = params, cal.cbs = cal.cbs, hardie = hardie) : 
    foo[1] == "x" & foo[2] == "t.x" & foo[3] == "T.cal" is not TRUE
  set param_init: 1, 1, 1, 1, 1, 1 
  running in parallel on 2 cores
  Error in pnbd.cbs.LL(params = params, cal.cbs = cal.cbs, hardie = hardie) : 
    foo[1] == "x" & foo[2] == "t.x" & foo[3] == "T.cal" is not TRUE
  set param_init: 1, 1, 1, 1 
  chain: 1 step: 100 of 1500 
  chain: 1 step: 200 of 1500 
  chain: 1 step: 300 of 1500 
  chain: 1 step: 400 of 1500 
  chain: 1 step: 500 of 1500 
  chain: 1 step: 600 of 1500 
  chain: 1 step: 700 of 1500 
  chain: 1 step: 800 of 1500 
  chain: 1 step: 900 of 1500 
  chain: 1 step: 1000 of 1500 
  chain: 1 step: 1100 of 1500 
  chain: 1 step: 1200 of 1500 
  chain: 1 step: 1300 of 1500 
  chain: 1 step: 1400 of 1500 
  chain: 1 step: 1500 of 1500 
  chain: 1 step: 100 of 120 
  chain: 2 step: 100 of 120 
  [ FAIL 1 | WARN 22726 | SKIP 5 | PASS 169 ]
  
  ══ Skipped tests (5) ═══════════════════════════════════════════════════════════
  • skip for now (1): 'test-style.R:4:5'
  • skip long-running test of MCMC parameter recovery (2):
    'test-pareto-nbd-abe.R:53:3', 'test-pareto-nbd-mcmc.R:65:3'
  • skip long-running test of Pareto/GGG parameter recovery (1):
    'test-pareto-ggg-mcmc.R:29:3'
  • skip long-running test of bias correction (1): 'test-mbg-cnbd-k.R:60:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-mcmc.R:38:3'): MCMC Helpers ──────────────────────────────────
  `... <- NULL` produced warnings.
  
  [ FAIL 1 | WARN 22726 | SKIP 5 | PASS 169 ]
  Error: Test failures
  Execution halted