Running ‘testthat.R’ [16s/16s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(exact2x2)
  Loading required package: exactci
  Loading required package: ssanv
  > 
  > test_check("exact2x2")
  ── 1. Error: pooled (@test_Exact.R#14)  ────────────────────────────────────────
  unused argument (interval = TRUE)
  1: expect_equal(round(exact.test(xmat, alternative = "less", beta = 1e-06, interval = TRUE, 
         method = "z-pooled", npNumbers = 1000, to.plot = FALSE)$p.value, 4), round(uncondExact2x2(x1, 
         n1, x2, n2, alternative = "less", parmtype = "difference", method = "wald-pooled", 
         control = ucControl(nPgrid = 1000), gamma = 1e-06)$p.value, 4)) at testthat/test_Exact.R:14
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  
  ── 2. Error: less, greater, two.sided (@test_Exact.R#38)  ──────────────────────
  unused argument (interval = FALSE)
  1: expect_equal(round(exact.test(xmat, alternative = "less", interval = FALSE, method = "Boschloo", 
         npNumbers = 1000, to.plot = FALSE)$p.value, 4), round(boschloo(x1, n1, x2, n2, 
         alternative = "less", tsmethod = "minlike", control = ucControl(nPgrid = 1000))$p.value, 
         4)) at testthat/test_Exact.R:38
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  
  ── 3. Error: less, greater, two.sided (@test_Exact.R#77)  ──────────────────────
  unused argument (interval = FALSE)
  1: expect_equal(round(exact.test(xmat, alternative = "two.sided", interval = FALSE, 
         method = "z-pooled", npNumbers = 1000, to.plot = FALSE)$p.value, 4), round(uncondExact2x2(x1, 
         n1, x2, n2, alternative = "two.sided", tsmethod = "square", method = "wald-pooled", 
         control = ucControl(nPgrid = 1000))$p.value, 4)) at testthat/test_Exact.R:77
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 27 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 3 ]
  1. Error: pooled (@test_Exact.R#14) 
  2. Error: less, greater, two.sided (@test_Exact.R#38) 
  3. Error: less, greater, two.sided (@test_Exact.R#77) 
  
  Error: testthat unit tests failed
  Execution halted