Running ‘testthat.R’ [107s/119s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if (require("testthat", character.only = TRUE)) {
  +   test_check("mcmcabn")
  + }
  Loading required package: testthat
  Loading required package: mcmcabn
  Step1. completed max alpha_i(S) for all i and S
  Total sets g(S) to be evaluated over: 256
  [ FAIL 5 | WARN 0 | SKIP 0 | PASS 4 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test.R:36:3'): mc3 ──────────────────────────────────────────────────
  Error in `simulateAbn(data.dists = dist, n.chains = 1, n.adapt = 1000, 
      n.thin = 1, n.iter = 1000, data.param = 0.4 * data.param, 
      simulate = TRUE, seed = 132, verbose = FALSE)`: unused arguments (data.dists = dist, data.param = 0.4 * data.param, simulate = TRUE)
  ── Error ('test.R:120:3'): REV ─────────────────────────────────────────────────
  Error in `simulateAbn(data.dists = dist, n.chains = 1, n.adapt = 1000, 
      n.thin = 1, n.iter = 1000, data.param = 0.4 * data.param, 
      simulate = TRUE, seed = 132)`: unused arguments (data.dists = dist, data.param = 0.4 * data.param, simulate = TRUE)
  ── Error ('test.R:199:3'): MBR ─────────────────────────────────────────────────
  Error in `simulateAbn(data.dists = dist, n.chains = 1, n.adapt = 1000, 
      n.thin = 1, n.iter = 1000, data.param = 0.4 * data.param, 
      simulate = TRUE, seed = 132)`: unused arguments (data.dists = dist, data.param = 0.4 * data.param, simulate = TRUE)
  ── Error ('test.R:243:3'): mcmcabn ─────────────────────────────────────────────
  Error in `simulateAbn(data.dists = dist, n.chains = 1, n.adapt = 20, n.thin = 1, 
      n.iter = 100, data.param = data.param.0, simulate = TRUE, 
      seed = 132)`: unused arguments (data.dists = dist, data.param = data.param.0, simulate = TRUE)
  ── Error ('test.R:528:1'): mcmcabnHeated ───────────────────────────────────────
  Error in `fitAbn(object = dag, data.df = asia, data.dists = dist.asia)`: `data.df` and `object` provided but can only accept one of them.
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test.R:528:0
   2. │ └─testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─abn::fitAbn(object = dag, data.df = asia, data.dists = dist.asia)
  
  [ FAIL 5 | WARN 0 | SKIP 0 | PASS 4 ]
  Error: Test failures
  Execution halted