Running 'testthat.r' [35s]
Running the tests in 'tests/testthat.r' failed.
Complete output:
  > library(testthat)
  > library(openVA)
  ────────────────────── Attaching packages for openVA 1.1.2 ─────────────────────
  ✔ InSilicoVA 1.4.0
  ✔ InterVA4   1.7.6
  ✔ InterVA5   1.1.3
  ✔ Tariff     1.0.5
  ── Optional packages (require manual installation if not attached) ─────────────
  × nbc4va     
  If you need to use these methods, you may need to load or install the packages: nbc4va.
  > 
  > test_check("openVA")
  InSilicoVA Sampler Initiated, 200 Iterations to Sample
  Error in .jcall(obj, "[D", "Fit", dimensions.j, probbase.j, probbase_order.j,  : 
    java.awt.HeadlessException: 
  The application does not have desktop access,
  but this program performed an operation which requires it.
  ..........10% completed
  ..........20% completed
  ..........30% completed
  ..........40% completed
  ..........50% completed
  ..........60% completed
  ..........70% completed
  ..........80% completed
  ..........90% completed
  ..........100% completed
  .10% completed
  .20% completed
  .30% completed
  .40% completed
  .50% completed
  .60% completed
  .70% completed
  .80% completed
  .90% completed
  .100% completed
  100% completed
  
  Start re-sampling for significant Tariff cells
  Calculating ranks
  InSilicoVA Sampler Initiated, 200 Iterations to Sample
  Error in .jcall(obj, "[D", "Fit", dimensions.j, probbase.j, probbase_order.j,  : 
    java.awt.HeadlessException: 
  The application does not have desktop access,
  but this program performed an operation which requires it.
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 246 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('tests.algorithm.r:24:3'): Insilico - ID and output correct ──────────
  Error in `insilico.fit(data = data, isNumeric = isNumeric, updateCondProb = updateCondProb, 
      keepProbbase.level = keepProbbase.level, CondProb = CondProb, 
      CondProbNum = CondProbNum, datacheck = FALSE, datacheck.missing = FALSE, 
      warning.write = FALSE, external.sep = FALSE, Nsim = Nsim, 
      thin = thin, burnin = burnin, auto.length = auto.length, 
      conv.csmf = conv.csmf, jump.scale = jump.scale, levels.prior = levels.prior, 
      levels.strength = levels.strength, trunc.min = trunc.min, 
      trunc.max = trunc.max, subpop = subpop, java_option = java_option, 
      seed = seed, phy.code = phy.code, phy.cat = phy.cat, phy.unknown = phy.unknown, 
      phy.external = phy.external, phy.debias = phy.debias, exclude.impossible.cause = FALSE, 
      indiv.CI = indiv.CI, impossible.combination = impossible.combination, 
      customization.dev = TRUE, Probbase_by_symp.dev = FALSE, probbase.dev = probbase.touse, 
      table.dev = table.alpha, table.num.dev = table.num, gstable.dev = colnames(probbase.touse), 
      nlevel.dev = 15)`: 
  Backtrace:
      ▆
   1. └─openVA::codeVA(...) at tests.algorithm.r:24:3
   2.   ├─base::do.call("insilico.train", pairlist(args)[[1]][-1])
   3.   └─InSilicoVA::insilico.train(...)
   4.     └─InSilicoVA::insilico.fit(...)
  ── Error ('tests.stackplot.r:22:1'): (code run outside of `test_that()`) ───────
  Error in `insilico.fit(data = data, isNumeric = isNumeric, updateCondProb = updateCondProb, 
      keepProbbase.level = keepProbbase.level, CondProb = CondProb, 
      CondProbNum = CondProbNum, datacheck = FALSE, datacheck.missing = FALSE, 
      warning.write = FALSE, external.sep = FALSE, Nsim = Nsim, 
      thin = thin, burnin = burnin, auto.length = auto.length, 
      conv.csmf = conv.csmf, jump.scale = jump.scale, levels.prior = levels.prior, 
      levels.strength = levels.strength, trunc.min = trunc.min, 
      trunc.max = trunc.max, subpop = subpop, java_option = java_option, 
      seed = seed, phy.code = phy.code, phy.cat = phy.cat, phy.unknown = phy.unknown, 
      phy.external = phy.external, phy.debias = phy.debias, exclude.impossible.cause = FALSE, 
      indiv.CI = indiv.CI, impossible.combination = impossible.combination, 
      customization.dev = TRUE, Probbase_by_symp.dev = FALSE, probbase.dev = probbase.touse, 
      table.dev = table.alpha, table.num.dev = table.num, gstable.dev = colnames(probbase.touse), 
      nlevel.dev = 15)`: 
  Backtrace:
      ▆
   1. └─openVA::codeVA(...) at tests.stackplot.r:22:1
   2.   ├─base::do.call("insilico.train", pairlist(args)[[1]][-1])
   3.   └─InSilicoVA::insilico.train(...)
   4.     └─InSilicoVA::insilico.fit(...)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 246 ]
  Error: Test failures
  Execution halted