Running ‘testthat.R’ [32s/38s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(arsenal)
  > 
  > test_check("arsenal")
  [ FAIL 2 | WARN 0 | SKIP 12 | PASS 477 ]
  
  ══ Skipped tests (12) ══════════════════════════════════════════════════════════
  • On CRAN (12): 'test_write2.R:31:3', 'test_write2.R:37:3',
    'test_write2.R:45:3', 'test_write2.R:50:3', 'test_write2.R:62:3',
    'test_write2.R:104:3', 'test_write2.R:108:3', 'test_write2.R:112:3',
    'test_write2.R:123:3', 'test_write2.R:128:3', 'test_write2.R:134:3',
    'test_write2.R:189:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_modelsum.R:386:3'): 08/01/2017: Beth Atkinson's subset problem ──
  Error in `check_pkg("pROC")`: Package 'pROC' is required for this functionality, but is not installed.
  Backtrace:
       ▆
    1. ├─testthat::expect_identical(...) at test_modelsum.R:386:3
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─arsenal:::capture.kable(...)
    5. │ └─utils::capture.output(x) at tests/testthat/helper-script.R:4:3
    6. │   └─base::withVisible(...elt(i))
    7. ├─base::summary(...)
    8. └─arsenal::modelsum(...)
    9.   └─arsenal:::modelsum_guts(...)
   10.     └─arsenal:::check_pkg("pROC")
  ── Error ('test_modelsum.R:695:3'): Nevents works for binomial (#325) ──────────
  Error in `check_pkg("pROC")`: Package 'pROC' is required for this functionality, but is not installed.
  Backtrace:
       ▆
    1. ├─testthat::expect_identical(...) at test_modelsum.R:695:3
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─arsenal:::capture.kable(...)
    5. │ └─utils::capture.output(x) at tests/testthat/helper-script.R:4:3
    6. │   └─base::withVisible(...elt(i))
    7. ├─base::summary(...)
    8. └─arsenal::modelsum(...)
    9.   └─arsenal:::modelsum_guts(...)
   10.     └─arsenal:::check_pkg("pROC")
  
  [ FAIL 2 | WARN 0 | SKIP 12 | PASS 477 ]
  Error: Test failures
  Execution halted