Running ‘testthat.R’ [42s/75s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(BayesPostEst)
  > 
  > test_check("BayesPostEst")
  Loading required package: rjags
  Loading required package: coda
  Linked to JAGS 4.3.2
  Loaded modules: basemod,bugs
  
  Attaching package: 'R2jags'
  
  The following object is masked from 'package:coda':
  
      traceplot
  
  [ FAIL 18 | WARN 106 | SKIP 0 | PASS 114 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_mcmcCoefPlot.R:4:3'): Simple model runs with mcmcCoefPlot ────
  `mcmcCoefPlot(jags_logit)` produced warnings.
  ── Failure ('test_mcmcCoefPlot.R:9:3'): mcmcCoefPlot works with jags_logit ─────
  `mcmcCoefPlot(coda::as.mcmc(jags_logit)[[1]])` produced warnings.
  ── Failure ('test_mcmcCoefPlot.R:27:3'): Simple model runs with mcmcCoefPlot with arguments ──
  `mcmcCoefPlot(jags_logit)` produced warnings.
  ── Failure ('test_mcmcCoefPlot.R:28:3'): Simple model runs with mcmcCoefPlot with arguments ──
  `mcmcCoefPlot(jags_logit, pars = "b", regex = T)` produced warnings.
  ── Failure ('test_mcmcCoefPlot.R:29:3'): Simple model runs with mcmcCoefPlot with arguments ──
  `mcmcCoefPlot(jags_logit, pars = "b", ci = 0.9, hpdi = T, regex = T)` produced warnings.
  ── Failure ('test_mcmcCoefPlot.R:38:3'): Simple model runs with mcmcCoefPlot with arguments ──
  `mcmcCoefPlot(jags_logit, pars = c("b[1]", "b[2]"), regex = FALSE)` produced warnings.
  ── Failure ('test_mcmcReg.R:5:3'): Simple model runs with mcmcReg ──────────────
  `mcmcReg(jags_logit)` produced warnings.
  ── Failure ('test_mcmcReg.R:6:3'): Simple model runs with mcmcReg ──────────────
  `mcmcReg(jags_logit, pars = c("b[1]", "b[3]"))` produced warnings.
  ── Failure ('test_mcmcReg.R:7:3'): Simple model runs with mcmcReg ──────────────
  `mcmcReg(...)` produced warnings.
  ── Failure ('test_mcmcReg.R:9:3'): Simple model runs with mcmcReg ──────────────
  `mcmcReg(...)` produced warnings.
  ── Failure ('test_mcmcReg.R:11:3'): Simple model runs with mcmcReg ─────────────
  `mcmcReg(jags_logit, pars = c("b"), regex = T)` produced warnings.
  ── Failure ('test_mcmcReg.R:12:3'): Simple model runs with mcmcReg ─────────────
  `mcmcReg(jags_logit, pars = c("b\\[1\\]", "b\\[3\\]"), regex = T)` produced warnings.
  ── Failure ('test_mcmcReg.R:13:3'): Simple model runs with mcmcReg ─────────────
  `... <- NULL` produced warnings.
  ── Failure ('test_mcmcReg.R:17:3'): Simple model runs with mcmcReg ─────────────
  `mcmcReg(...)` produced warnings.
  ── Failure ('test_mcmcReg.R:21:3'): Simple model runs with mcmcReg ─────────────
  `mcmcReg(jags_logit, gof = 1234, gofnames = "Fake jags_logit Statistic")` produced warnings.
  ── Failure ('test_mcmcReg.R:23:3'): Simple model runs with mcmcReg ─────────────
  `mcmcReg(jags_logit, format = "html", file = "table")` produced warnings.
  ── Failure ('test_mcmcReg.R:57:3'): mcmcReg works with filenames ───────────────
  `mcmcReg(jags_logit, sd = T, file = "tab.tex")` produced warnings.
  ── Failure ('test_mcmcReg.R:58:3'): mcmcReg works with filenames ───────────────
  `mcmcReg(jags_logit, sd = T, format = "html", file = "tab.html")` produced warnings.
  
  [ FAIL 18 | WARN 106 | SKIP 0 | PASS 114 ]
  Error: Test failures
  Execution halted