Running ‘test-that.R’ [315s/389s]
Running the tests in ‘tests/test-that.R’ failed.
Complete output:
  > library(testthat)
  > test_check("devtools")
  Loading required package: devtools
  <simpleError: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).>
  ── 1. Error: Package readme can be built  (@test-build-readme.R#8)  ────────────
  pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
  1: build_readme("testReadme") at testthat/test-build-readme.R:8
  2: callr::r(build, args = list(pkg_path = pkg$path, readme_path = readme_path, ... = ..., 
         quiet = quiet), show = TRUE, spinner = FALSE)
  3: get_result(output = out, options)
  
  ── 2. Error: Package pkgdown site can be built  (@test-build-site.R#6)  ────────
  pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
  1: capture.output({
         build_site(path = "testPkgdown", override = list(destination = destination))
     }, type = c("output")) at testthat/test-build-site.R:6
  2: evalVis(expr)
  3: withVisible(eval(expr, pf))
  4: eval(expr, pf)
  5: eval(expr, pf)
  6: build_site(path = "testPkgdown", override = list(destination = destination))
  7: withr::with_temp_libpaths(action = "prefix", code = {
         install(pkg = pkg$path, upgrade = "never", reload = FALSE, quiet = quiet)
         if (isTRUE(quiet)) {
             withr::with_output_sink(tempfile(), pkgdown::build_site(pkg = pkg$path, ...))
         }
         else {
             pkgdown::build_site(pkg = pkg$path, ...)
         }
     })
  8: force(code)
  9: withr::with_output_sink(tempfile(), pkgdown::build_site(pkg = pkg$path, ...))
  10: force(code)
  11: pkgdown::build_site(pkg = pkg$path, ...)
  12: build_site_external(pkg = pkg, examples = examples, document = document, run_dont_run = run_dont_run, 
         seed = seed, mathjax = mathjax, lazy = lazy, override = override, preview = preview)
  13: callr::r(function(...) pkgdown::build_site(...), args = args, show = TRUE)
  14: get_result(output = out, options)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 48 SKIPPED: 6 FAILED: 2
  1. Error: Package readme can be built  (@test-build-readme.R#8) 
  2. Error: Package pkgdown site can be built  (@test-build-site.R#6) 
  
  Error: testthat unit tests failed
  Execution halted