Running ‘testthat.R’ [19s/27s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(reportfactory)
  > 
  > test_check("reportfactory")
  >>> Compiling report: /parameterised
        - with parameters: test1 = three, test2 = four
  >>> Compiling report: /parameterised_with_missing
        - with parameters: test2 = four, test3 = five, test1 = one
  >>> Compiling report: /simple2
        - with parameters: test2 = four, test3 = five
  >>> Compiling report: /parameterised_with_missing
  >>> Compiling report: /dimple
  >>> Compiling report: /dimple
  >>> Compiling report: /nested/parameterised
  >>> Compiling report: /nested/parameterised
  >>> Compiling report: /nested/parameterised
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-compile_reports.R:17:3): test parameteriesed report output ──────
  Error: callr subprocess failed: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
  Backtrace:
      █
   1. └─reportfactory::compile_reports(...) test-compile_reports.R:17:2
   2.   └─callr::r(...)
   3.     └─callr:::get_result(output = out, options)
   4.       └─throw(newerr, parent = remerr[[2]])
  ── Error (test-compile_reports.R:45:3): parameteriesed report with missing param output but input ──
  Error: callr subprocess failed: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
  Backtrace:
      █
   1. └─reportfactory::compile_reports(...) test-compile_reports.R:45:2
   2.   └─callr::r(...)
   3.     └─callr:::get_result(output = out, options)
   4.       └─throw(newerr, parent = remerr[[2]])
  ── Error (test-compile_reports.R:72:3): non parameteriesed report with param input ──
  Error: callr subprocess failed: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
  Backtrace:
      █
   1. └─reportfactory::compile_reports(...) test-compile_reports.R:72:2
   2.   └─callr::r(...)
   3.     └─callr:::get_result(output = out, options)
   4.       └─throw(newerr, parent = remerr[[2]])
  ── Error (test-compile_reports.R:101:3): parameteriesed report with missing param (but in environment) ──
  Error: callr subprocess failed: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
  Backtrace:
      █
   1. └─reportfactory::compile_reports(f, "parameterised") test-compile_reports.R:101:2
   2.   └─callr::r(...)
   3.     └─callr:::get_result(output = out, options)
   4.       └─throw(newerr, parent = remerr[[2]])
  ── Error (test-compile_reports.R:139:3): integer index for reports ─────────────
  Error: callr subprocess failed: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
  Backtrace:
      █
   1. └─reportfactory::compile_reports(f, idx, timestamp = "test") test-compile_reports.R:139:2
   2.   └─callr::r(...)
   3.     └─callr:::get_result(output = out, options)
   4.       └─throw(newerr, parent = remerr[[2]])
  ── Error (test-compile_reports.R:198:3): logical index for reports ─────────────
  Error: callr subprocess failed: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
  Backtrace:
      █
   1. └─reportfactory::compile_reports(f, idx, timestamp = "test") test-compile_reports.R:198:2
   2.   └─callr::r(...)
   3.     └─callr:::get_result(output = out, options)
   4.       └─throw(newerr, parent = remerr[[2]])
  ── Error (test-list_outputs.R:23:3): list_output works with nested and unnested files ──
  Error: callr subprocess failed: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
  Backtrace:
      █
   1. └─reportfactory::compile_reports(f, timestamp = "test") test-list_outputs.R:23:2
   2.   └─callr::r(...)
   3.     └─callr:::get_result(output = out, options)
   4.       └─throw(newerr, parent = remerr[[2]])
  ── Error (test-list_outputs.R:74:3): list_output works, one file compiled ──────
  Error: callr subprocess failed: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
  Backtrace:
      █
   1. └─reportfactory::compile_reports(f, "parameterised", timestamp = "test") test-list_outputs.R:74:2
   2.   └─callr::r(...)
   3.     └─callr:::get_result(output = out, options)
   4.       └─throw(newerr, parent = remerr[[2]])
  ── Error (test-list_outputs.R:105:3): list_output works, with subfolders ───────
  Error: callr subprocess failed: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
  Backtrace:
      █
   1. └─reportfactory::compile_reports(...) test-list_outputs.R:105:2
   2.   └─callr::r(...)
   3.     └─callr:::get_result(output = out, options)
   4.       └─throw(newerr, parent = remerr[[2]])
  
  [ FAIL 9 | WARN 0 | SKIP 0 | PASS 22 ]
  Deleting unused snapshots:
  * _snaps/compile_reports/missing_param_but_envir.md
  * _snaps/compile_reports/missing_param_report_check.md
  * _snaps/compile_reports/nonparameterised_with_params.md
  * _snaps/compile_reports/param_report_check.md
  Error: Test failures
  Execution halted