Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("REPLesentR")
  > 
  > if (requireNamespace("testthat", quietly = TRUE)) {
  +   testthat::test_check("REPLesentR")
  + }
  ── 1. Error:  (@test-Evaluate.R#7)  ────────────────────────────────────────────
  Please install either RStudio or Pandoc (https://pandoc.org)
  Backtrace:
   1. SlideDeck()$new(Read()$auto(tfname, quiet = TRUE))
   4. Read()$auto(tfname, quiet = TRUE)
   5. get(fileExt, mode = "function")(fileName, ...)
   6. REPLesentR:::md(mdFile)
   7. knitr::pandoc(fileName, format = "plain")
  
  ********************************************************************************
  *                                                                              *
  *                                                                              *
  *                                                                              *
  *                                                                              *
  *                                                                              *
  *                                   HEAD LINE                                  *
  *                                                                              *
  *     x <- 1                                                                   *
  *     y <- 2                                                                   *
  *                                                                              *
  *                                                                              *
  *                                 centered text                                *
  * - '//code' is very important                                                 *
  *     cat('real code is the real deal')                                        *
  *                                                                              *
  *                                                                              *
  *                                                                              *
  *                                                                              *
  *                                                                              *
  *                                                                              *
  ********************************************************************************
  ── 2. Error: Testing the introduction presentation (@test-SlideDeck.R#6)  ──────
  Please install either RStudio or Pandoc (https://pandoc.org)
  Backtrace:
   1. Read()$auto(tfname, quiet = TRUE)
   2. get(fileExt, mode = "function")(fileName, ...)
   3. REPLesentR:::md(mdFile)
   4. knitr::pandoc(fileName, format = "plain")
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 10 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
  1. Error:  (@test-Evaluate.R#7) 
  2. Error: Testing the introduction presentation (@test-SlideDeck.R#6) 
  
  Error: testthat unit tests failed
  Execution halted