Running ‘testthat.R’ [71s/110s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(inTextSummaryTable)
  > 
  > test_check("inTextSummaryTable")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • empty test (3)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_exportSummaryStatisticsTable-DT.R:491:2): export summary table to a file ──
  Error: Saving a widget with selfcontained = TRUE requires pandoc. For details see:
  https://github.com/rstudio/rmarkdown/blob/master/PANDOC.md
  Backtrace:
       █
    1. ├─testthat::expect_silent(...) test_exportSummaryStatisticsTable-DT.R:491:8
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat:::.capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. └─inTextSummaryTable::exportSummaryStatisticsTable(...)
   10.   └─inTextSummaryTable::exportSummaryStatisticsTableToDT(...)
   11.     ├─base::do.call(getClinDT, argsDT)
   12.     └─(function (data, nonVisibleVar = NULL, nonVisible = NULL, percVar = NULL, ...
   13.       └─htmlwidgets::saveWidget(widget = tableDT, file = basename(file))
  ── Error (test_exportSummaryStatisticsTable-DT.R:726:2): list of summary tables is exported to file ──
  Error: Saving a widget with selfcontained = TRUE requires pandoc. For details see:
  https://github.com/rstudio/rmarkdown/blob/master/PANDOC.md
  Backtrace:
       █
    1. └─inTextSummaryTable::exportSummaryStatisticsTable(...) test_exportSummaryStatisticsTable-DT.R:726:8
    2.   └─inTextSummaryTable::exportSummaryStatisticsTableToDT(...)
    3.     └─base::sapply(...)
    4.       └─base::lapply(X = X, FUN = FUN, ...)
    5.         └─inTextSummaryTable:::FUN(X[[i]], ...)
    6.           ├─base::do.call(exportSummaryStatisticsTableToDT, inputParamsBy)
    7.           └─(function (summaryTable, rowVar = getAttribute(summaryTable, ...
    8.             ├─base::do.call(getClinDT, argsDT)
    9.             └─(function (data, nonVisibleVar = NULL, nonVisible = NULL, percVar = NULL, ...
   10.               └─htmlwidgets::saveWidget(widget = tableDT, file = basename(file))
  ── Error (test_exportSummaryStatisticsTable.R:19:2): summary table is exported to multiple formats ──
  Error: Saving a widget with selfcontained = TRUE requires pandoc. For details see:
  https://github.com/rstudio/rmarkdown/blob/master/PANDOC.md
  Backtrace:
      █
   1. └─inTextSummaryTable::exportSummaryStatisticsTable(...) test_exportSummaryStatisticsTable.R:19:8
   2.   └─inTextSummaryTable::exportSummaryStatisticsTableToDT(...)
   3.     ├─base::do.call(getClinDT, argsDT)
   4.     └─(function (data, nonVisibleVar = NULL, nonVisible = NULL, percVar = NULL, ...
   5.       └─htmlwidgets::saveWidget(widget = tableDT, file = basename(file))
  
  [ FAIL 3 | WARN 7 | SKIP 3 | PASS 962 ]
  Error: Test failures
  Execution halted