Running 'testthat.R' [31s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(clinDataReview)
  > 
  > test_check("clinDataReview")
    adding: report.html (deflated 64%)
    adding: report_dependencies381033ca5c1c/ (stored 0%)
    adding: report_dependencies381033ca5c1c/file38103a7868b3.html (deflated 8%)
  [ FAIL 3 | WARN 1 | SKIP 23 | PASS 424 ]
  
  == Skipped tests ===============================================================
  * On CRAN (23)
  
  == Failed tests ================================================================
  -- Error (test_render_clinDataReviewReport.R:219:2): The creation of html file from markdown files for specified config files is successful --
  Error: Using anchor_sections requires Pandoc 2.0+
  Backtrace:
      x
   1. \-clinDataReview::convertMdToHtml(...) at test_render_clinDataReviewReport.R:219:8
   2.   \-rmarkdown::render(...)
   3.     \-rmarkdown:::create_output_format(output_format$name, output_format$options)
   4.       +-base::do.call(output_format_func, options)
   5.       \-clinDataReview `<fn>`()
   6.         \-bookdown::gitbook(...)
   7.           \-bookdown::html_document2(...)
   8.             \-rmarkdown::html_document(...)
   9.               \-rmarkdown:::add_anchor_sections(anchor_sections, section_divs)
  -- Error (test_reportingFormats.R:5:2): A gitbook clinical data review format is correctly created --
  Error: Using anchor_sections requires Pandoc 2.0+
  Backtrace:
      x
   1. \-clinDataReview::gitbook_clinDataReview_report() at test_reportingFormats.R:5:8
   2.   \-bookdown::gitbook(...)
   3.     \-bookdown::html_document2(...)
   4.       \-rmarkdown::html_document(...)
   5.         \-rmarkdown:::add_anchor_sections(anchor_sections, section_divs)
  -- Error (test_reportingFormats.R:58:2): A logo is correctly added to a gitbook clinical data review report --
  Error: Using anchor_sections requires Pandoc 2.0+
  Backtrace:
       x
    1. +-testthat::expect_silent(res <- gitbook_clinDataReview_report(logo = pathPlotBasic)) at test_reportingFormats.R:58: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. \-clinDataReview::gitbook_clinDataReview_report(logo = pathPlotBasic)
   10.   \-bookdown::gitbook(...)
   11.     \-bookdown::html_document2(...)
   12.       \-rmarkdown::html_document(...)
   13.         \-rmarkdown:::add_anchor_sections(anchor_sections, section_divs)
  
  [ FAIL 3 | WARN 1 | SKIP 23 | PASS 424 ]
  Error: Test failures
  Execution halted