Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("testthat")
  > library("excerptr")
  > test_check("excerptr")
  cloning into '/tmp/Rtmp7fayTt'...
  Receiving objects:   1% (14/1367),    9 kb
  Receiving objects:  11% (151/1367),   25 kb
  Receiving objects:  21% (288/1367),   49 kb
  Receiving objects:  31% (424/1367),   65 kb
  Receiving objects:  41% (561/1367),  121 kb
  Receiving objects:  51% (698/1367),  145 kb
  Receiving objects:  61% (834/1367),  169 kb
  Receiving objects:  71% (971/1367),  185 kb
  Receiving objects:  81% (1108/1367),  201 kb
  Receiving objects:  91% (1244/1367),  226 kb
  Receiving objects: 100% (1367/1367),  350 kb, done.
  1. Error: pandoc_formats (@test_basic.R#48) ------------------------------------
  [Errno 2] No such file or directory: 'pandoc'
  1: excerptr(file = file.path(root, "tests/files/some_file.R"), pandoc_formats = c("tex", 
         "html"), output_path = tempdir(), run_pandoc = TRUE) at testthat/test_basic.R:48
  2: rPython::python.call("excerpts", file_name = file_name, comment_character = comment_character, 
         magic_character = magic_character, output_path = output_path, allow_pep8 = allow_pep8, 
         prefix = prefix, postfix = postfix, run_pandoc = run_pandoc, compile_latex = compile_latex, 
         pandoc_formats = as.list(pandoc_formats))
  3: python.exec(python.command)
  4: stop(ret$error.desc)
  
  2. Error: pandoc_formats_list (@test_basic.R#60) -------------------------------
  [Errno 2] No such file or directory: 'pandoc'
  1: excerptr(file = file.path(root, "tests/files/some_file.R"), pandoc_formats = list("tex", 
         "html"), output_path = tempdir(), run_pandoc = TRUE) at testthat/test_basic.R:60
  2: rPython::python.call("excerpts", file_name = file_name, comment_character = comment_character, 
         magic_character = magic_character, output_path = output_path, allow_pep8 = allow_pep8, 
         prefix = prefix, postfix = postfix, run_pandoc = run_pandoc, compile_latex = compile_latex, 
         pandoc_formats = as.list(pandoc_formats))
  3: python.exec(python.command)
  4: stop(ret$error.desc)
  
  testthat results ================================================================
  OK: 5 SKIPPED: 0 FAILED: 2
  1. Error: pandoc_formats (@test_basic.R#48) 
  2. Error: pandoc_formats_list (@test_basic.R#60) 
  
  Error: testthat unit tests failed
  Execution halted