Running 'testthat.R' [29s]
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
  Roxygen: list(markdown = TRUE)
  RoxygenNote: 7.2.0
  Error : only `math_method = 'mathjax'` is supported with earlier version than Pandoc 2.0 
  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
  Roxygen: list(markdown = TRUE)
  RoxygenNote: 7.2.0
  Error : only `math_method = 'mathjax'` is supported with earlier version than Pandoc 2.0 
  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
  Roxygen: list(markdown = TRUE)
  RoxygenNote: 7.2.0
  Error : only `math_method = 'mathjax'` is supported with earlier version than Pandoc 2.0 
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 11 ]
  
  == Failed tests ================================================================
  -- Error (test-basic.R:9:3): Project has basic functionality -------------------
  <callr_status_error/callr_error/rlib_error_2_0/rlib_error/error/condition>
  Error: callr subprocess failed: only `math_method = 'mathjax'` is supported with earlier version than Pandoc 2.0 
  Backtrace:
       x
    1. +-NMproject:::with_temp_git_config(nm_create_analysis_project(proj_path)) at test-basic.R:9:2
    2. | \-base::eval(code)
    3. \-NMproject::nm_create_analysis_project(proj_path)
    4.   +-base::suppressMessages(devtools::build_readme(path = path))
    5.   | \-base::withCallingHandlers(...)
    6.   \-devtools::build_readme(path = path)
    7.     \-devtools::build_rmd(...)
    8.       \-callr::r_safe(...)
    9.         \-callr:::get_result(output = out, options)
   10.           \-throw(newerr, parent = remerr[[2]])
  -- Error (test-basic.R:47:3): set up -------------------------------------------
  Error in `nm_create_analysis_project(proj_path)`: Directory already exists. Aborting.
  Backtrace:
      x
   1. +-NMproject:::with_temp_git_config(nm_create_analysis_project(proj_path)) at test-basic.R:47:2
   2. | \-base::eval(code)
   3. \-NMproject::nm_create_analysis_project(proj_path)
  -- Error (test-manual_edit.R:11:3): manual_edit --------------------------------
  <callr_status_error/callr_error/rlib_error_2_0/rlib_error/error/condition>
  Error: callr subprocess failed: only `math_method = 'mathjax'` is supported with earlier version than Pandoc 2.0 
  Backtrace:
       x
    1. +-NMproject:::with_temp_git_config(nm_create_analysis_project(proj_path)) at test-manual_edit.R:11:2
    2. | \-base::eval(code)
    3. \-NMproject::nm_create_analysis_project(proj_path)
    4.   +-base::suppressMessages(devtools::build_readme(path = path))
    5.   | \-base::withCallingHandlers(...)
    6.   \-devtools::build_readme(path = path)
    7.     \-devtools::build_rmd(...)
    8.       \-callr::r_safe(...)
    9.         \-callr:::get_result(output = out, options)
   10.           \-throw(newerr, parent = remerr[[2]])
  -- Error (test-theopp.R:11:3): run and post ------------------------------------
  <callr_status_error/callr_error/rlib_error_2_0/rlib_error/error/condition>
  Error: callr subprocess failed: only `math_method = 'mathjax'` is supported with earlier version than Pandoc 2.0 
  Backtrace:
       x
    1. +-NMproject:::with_temp_git_config(nm_create_analysis_project(proj_path)) at test-theopp.R:11:2
    2. | \-base::eval(code)
    3. \-NMproject::nm_create_analysis_project(proj_path)
    4.   +-base::suppressMessages(devtools::build_readme(path = path))
    5.   | \-base::withCallingHandlers(...)
    6.   \-devtools::build_readme(path = path)
    7.     \-devtools::build_rmd(...)
    8.       \-callr::r_safe(...)
    9.         \-callr:::get_result(output = out, options)
   10.           \-throw(newerr, parent = remerr[[2]])
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 11 ]
  Error: Test failures
  Execution halted