* using log directory 'd:/Rcompile/CRANpkg/local/4.0/NMproject.Rcheck' * using R version 4.0.5 (2021-03-31) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'NMproject/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'NMproject' version '0.6.7' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'NMproject' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [41s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... [23s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [24s] ERROR Running 'testthat.R' [24s] 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 [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.1.2 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 [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.1.2 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 [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.1.2 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 ------------------- 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 -------------------------------- 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 ------------------------------------ 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 * checking PDF version of manual ... OK * DONE Status: 1 ERROR