Running ‘testthat.R’ [19s/26s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(clinUtils)
  > 
  > test_check("clinUtils")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_getClinDT.R:52:2): basic ────────────────────────────────────────
  Error: Saving a widget with selfcontained = TRUE requires pandoc. For details see:
  https://github.com/rstudio/rmarkdown/blob/master/PANDOC.md
  Backtrace:
      █
   1. └─htmlwidgets::saveWidget(dt, file = file) test_getClinDT.R:52:8
  ── Error (test_getClinDT.R:115:2): Colnames ────────────────────────────────────
  Error: Saving a widget with selfcontained = TRUE requires pandoc. For details see:
  https://github.com/rstudio/rmarkdown/blob/master/PANDOC.md
  Backtrace:
      █
   1. └─clinUtils:::exportAndGetTableJSON(dt) test_getClinDT.R:115:8
   2.   └─htmlwidgets::saveWidget(dt, file = file) test_getClinDT.R:30:8
  ── Error (test_getClinDT.R:238:3): Filter boxes ────────────────────────────────
  Error: Saving a widget with selfcontained = TRUE requires pandoc. For details see:
  https://github.com/rstudio/rmarkdown/blob/master/PANDOC.md
  Backtrace:
      █
   1. └─clinUtils:::exportAndGetTableJSON(dt) test_getClinDT.R:238:16
   2.   └─htmlwidgets::saveWidget(dt, file = file) test_getClinDT.R:30:8
  ── Error (test_getClinDT.R:257:3): Search box ──────────────────────────────────
  Error: Saving a widget with selfcontained = TRUE requires pandoc. For details see:
  https://github.com/rstudio/rmarkdown/blob/master/PANDOC.md
  Backtrace:
      █
   1. └─clinUtils:::exportAndGetTableJSON(dt) test_getClinDT.R:257:16
   2.   └─htmlwidgets::saveWidget(dt, file = file) test_getClinDT.R:30:8
  ── Error (test_getClinDT.R:273:2): Page length ─────────────────────────────────
  Error: Saving a widget with selfcontained = TRUE requires pandoc. For details see:
  https://github.com/rstudio/rmarkdown/blob/master/PANDOC.md
  Backtrace:
      █
   1. └─clinUtils:::exportAndGetTableJSON(dt) test_getClinDT.R:273:8
   2.   └─htmlwidgets::saveWidget(dt, file = file) test_getClinDT.R:30:8
  ── Error (test_getClinDT.R:288:2): Fixed columns ───────────────────────────────
  Error: Saving a widget with selfcontained = TRUE requires pandoc. For details see:
  https://github.com/rstudio/rmarkdown/blob/master/PANDOC.md
  Backtrace:
      █
   1. └─clinUtils:::exportAndGetTableJSON(dt) test_getClinDT.R:288:8
   2.   └─htmlwidgets::saveWidget(dt, file = file) test_getClinDT.R:30:8
  ── Error (test_getClinDT.R:302:2): Columns widths ──────────────────────────────
  Error: Saving a widget with selfcontained = TRUE requires pandoc. For details see:
  https://github.com/rstudio/rmarkdown/blob/master/PANDOC.md
  Backtrace:
      █
   1. └─clinUtils:::exportAndGetTableJSON(dt) test_getClinDT.R:302:8
   2.   └─htmlwidgets::saveWidget(dt, file = file) test_getClinDT.R:30:8
  ── Error (test_getClinDT.R:333:2): Specification of extra options ──────────────
  Error: Saving a widget with selfcontained = TRUE requires pandoc. For details see:
  https://github.com/rstudio/rmarkdown/blob/master/PANDOC.md
  Backtrace:
      █
   1. └─clinUtils:::exportAndGetTableJSON(dt) test_getClinDT.R:333:8
   2.   └─htmlwidgets::saveWidget(dt, file = file) test_getClinDT.R:30:8
  ── Error (test_getClinDT.R:364:2): Expand variables ────────────────────────────
  Error: Saving a widget with selfcontained = TRUE requires pandoc. For details see:
  https://github.com/rstudio/rmarkdown/blob/master/PANDOC.md
  Backtrace:
      █
   1. └─clinUtils:::exportAndGetTableJSON(dt) test_getClinDT.R:364:8
   2.   └─htmlwidgets::saveWidget(dt, file = file) test_getClinDT.R:30:8
  ── Error (test_getClinDT.R:414:2): Expand variables with all column options ────
  Error: Saving a widget with selfcontained = TRUE requires pandoc. For details see:
  https://github.com/rstudio/rmarkdown/blob/master/PANDOC.md
  Backtrace:
      █
   1. └─clinUtils:::exportAndGetTableJSON(dt) test_getClinDT.R:414:8
   2.   └─htmlwidgets::saveWidget(dt, file = file) test_getClinDT.R:30:8
  ── Error (test_getClinDT.R:460:2): Expand cells ────────────────────────────────
  Error: Saving a widget with selfcontained = TRUE requires pandoc. For details see:
  https://github.com/rstudio/rmarkdown/blob/master/PANDOC.md
  Backtrace:
      █
   1. └─clinUtils:::exportAndGetTableJSON(dt) test_getClinDT.R:460:8
   2.   └─htmlwidgets::saveWidget(dt, file = file) test_getClinDT.R:30:8
  ── Error (test_getClinDT.R:491:2): Escape cells ────────────────────────────────
  Error: Saving a widget with selfcontained = TRUE requires pandoc. For details see:
  https://github.com/rstudio/rmarkdown/blob/master/PANDOC.md
  Backtrace:
      █
   1. └─clinUtils:::exportAndGetTableJSON(dt) test_getClinDT.R:491:8
   2.   └─htmlwidgets::saveWidget(dt, file = file) test_getClinDT.R:30:8
  ── Error (test_getClinDT.R:527:2): Row grouping ────────────────────────────────
  Error: Saving a widget with selfcontained = TRUE requires pandoc. For details see:
  https://github.com/rstudio/rmarkdown/blob/master/PANDOC.md
  Backtrace:
      █
   1. └─clinUtils:::exportAndGetTableJSON(dt) test_getClinDT.R:527:8
   2.   └─htmlwidgets::saveWidget(dt, file = file) test_getClinDT.R:30:8
  ── Error (test_getClinDT.R:561:2): Vertical alignment ──────────────────────────
  Error: Saving a widget with selfcontained = TRUE requires pandoc. For details see:
  https://github.com/rstudio/rmarkdown/blob/master/PANDOC.md
  Backtrace:
      █
   1. └─clinUtils:::exportAndGetTableJSON(dt) test_getClinDT.R:561:8
   2.   └─htmlwidgets::saveWidget(dt, file = file) test_getClinDT.R:30:8
  ── Error (test_getClinDT.R:589:2): Buttons ─────────────────────────────────────
  Error: Saving a widget with selfcontained = TRUE requires pandoc. For details see:
  https://github.com/rstudio/rmarkdown/blob/master/PANDOC.md
  Backtrace:
      █
   1. └─clinUtils:::exportAndGetTableJSON(dt) test_getClinDT.R:589:8
   2.   └─htmlwidgets::saveWidget(dt, file = file) test_getClinDT.R:30:8
  ── Error (test_getClinDT.R:616:3): x-scrolling ─────────────────────────────────
  Error: Saving a widget with selfcontained = TRUE requires pandoc. For details see:
  https://github.com/rstudio/rmarkdown/blob/master/PANDOC.md
  Backtrace:
      █
   1. └─clinUtils:::exportAndGetTableJSON(dt) test_getClinDT.R:616:16
   2.   └─htmlwidgets::saveWidget(dt, file = file) test_getClinDT.R:30:8
  ── Error (test_getClinDT.R:651:2): Export ──────────────────────────────────────
  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(dt <- getClinDT(data, file = file)) test_getClinDT.R:651: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. └─clinUtils::getClinDT(data, file = file)
   10.   └─htmlwidgets::saveWidget(widget = tableDT, file = basename(file))
  ── Error (test_knitPrintListPlots.R:140:7): Knitting list of interactive plots with 'knitPrintListObjects' ──
  Error: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
  Backtrace:
       █
    1. ├─testthat::expect_silent(...) test_knitPrintListPlots.R:140:6
    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. └─rmarkdown::render(file, quiet = TRUE)
   10.   └─rmarkdown::pandoc_available(required_pandoc, error = TRUE)
  ── Error (test_knitPrintListPlots.R:154:7): Knitting list of interactive plots with 'knitPrintListObjects' ──
  Error: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
  Backtrace:
       █
    1. ├─testthat::expect_silent(...) test_knitPrintListPlots.R:154:6
    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. └─rmarkdown::render(file, quiet = TRUE)
   10.   └─rmarkdown::pandoc_available(required_pandoc, error = TRUE)
  ── Error (test_knitPrintListPlots.R:176:7): Knitting list of interactive flextable with 'knitPrintListObjects' ──
  Error: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
  Backtrace:
       █
    1. ├─testthat::expect_silent(...) test_knitPrintListPlots.R:176:6
    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. └─rmarkdown::render(file, quiet = TRUE)
   10.   └─rmarkdown::pandoc_available(required_pandoc, error = TRUE)
  
  [ FAIL 20 | WARN 1 | SKIP 0 | PASS 234 ]
  Error: Test failures
  Execution halted