Running ‘testthat.R’ [25s/39s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(NMproject)
  > 
  > test_check("NMproject")
  Package: localanalysis
  Title: What the Package Does (One Line, Title Case)
  Version: 0.0.0.9000
  Authors@R (parsed):
      * First Last <first.last@example.com> [aut, cre] (YOUR-ORCID-ID)
  Description: What the package does (one paragraph).
  License: `use_mit_license()`, `use_gpl3_license()` or friends to pick a
      license
  Encoding: UTF-8
  LazyData: true
  Roxygen: list(markdown = TRUE)
  RoxygenNote: 7.1.1
  Error : pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
  Package: localanalysis
  Title: What the Package Does (One Line, Title Case)
  Version: 0.0.0.9000
  Authors@R (parsed):
      * First Last <first.last@example.com> [aut, cre] (YOUR-ORCID-ID)
  Description: What the package does (one paragraph).
  License: `use_mit_license()`, `use_gpl3_license()` or friends to pick a
      license
  Encoding: UTF-8
  LazyData: true
  Roxygen: list(markdown = TRUE)
  RoxygenNote: 7.1.1
  Error : pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • rmarkdown::pandoc_available("1.12.3") is not TRUE (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-basic.R:6:3): Project has basic functionality ───────────────────
  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. └─NMproject::nm_create_analysis_project(proj_path) test-basic.R:6:2
   2.   ├─base::suppressMessages(devtools::build_readme(path = path))
   3.   │ └─base::withCallingHandlers(...)
   4.   └─devtools::build_readme(path = path)
   5.     └─devtools::build_rmd(...)
   6.       └─callr::r_safe(...)
   7.         └─callr:::get_result(output = out, options)
   8.           └─throw(newerr, parent = remerr[[2]])
  ── Error (test-basic.R:41:3): set up ───────────────────────────────────────────
  Error: Directory already exists. Aborting.
  Backtrace:
      █
   1. └─NMproject::nm_create_analysis_project(proj_path) test-basic.R:41:2
  ── Error (test-manual_edit.R:8:3): manual_edit ─────────────────────────────────
  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. └─NMproject::nm_create_analysis_project(proj_path) test-manual_edit.R:8:2
   2.   ├─base::suppressMessages(devtools::build_readme(path = path))
   3.   │ └─base::withCallingHandlers(...)
   4.   └─devtools::build_readme(path = path)
   5.     └─devtools::build_rmd(...)
   6.       └─callr::r_safe(...)
   7.         └─callr:::get_result(output = out, options)
   8.           └─throw(newerr, parent = remerr[[2]])
  
  [ FAIL 3 | WARN 0 | SKIP 1 | PASS 11 ]
  Error: Test failures
  Execution halted