* using log directory 'd:/Rcompile/CRANpkg/local/4.0/clinDataReview.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 'clinDataReview/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'clinDataReview' version '1.2.2'
* 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 'clinDataReview' can be installed ... OK
* checking installed package size ... NOTE
  installed size is  5.9Mb
  sub-directories of 1Mb or more:
    doc   4.2Mb
* checking package directory ... OK
* checking 'build' 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 ... [18s] 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 installed files from 'inst/doc' ... OK
* checking files in 'vignettes' ... OK
* checking examples ... [18s] OK
* checking for unstated dependencies in 'tests' ... OK
* checking tests ... [32s] ERROR
  Running 'testthat.R' [31s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(clinDataReview)
  > 
  > test_check("clinDataReview")
    adding: report.html (deflated 64%)
    adding: report_dependencies176cc1c3a7412/ (stored 0%)
    adding: report_dependencies176cc1c3a7412/file176cc7144427e.html (deflated 8%)
  [ FAIL 3 | WARN 1 | SKIP 23 | PASS 424 ]
  
  == Skipped tests ===============================================================
  * On CRAN (23)
  
  == Failed tests ================================================================
  -- Error (test_render_clinDataReviewReport.R:219:2): The creation of html file from markdown files for specified config files is successful --
  Error: Using anchor_sections requires Pandoc 2.0+
  Backtrace:
      x
   1. \-clinDataReview::convertMdToHtml(...) at test_render_clinDataReviewReport.R:219:8
   2.   \-rmarkdown::render(...)
   3.     \-rmarkdown:::create_output_format(output_format$name, output_format$options)
   4.       +-base::do.call(output_format_func, options)
   5.       \-clinDataReview `<fn>`()
   6.         \-bookdown::gitbook(...)
   7.           \-bookdown::html_document2(...)
   8.             \-rmarkdown::html_document(...)
   9.               \-rmarkdown:::add_anchor_sections(anchor_sections, section_divs)
  -- Error (test_reportingFormats.R:5:2): A gitbook clinical data review format is correctly created --
  Error: Using anchor_sections requires Pandoc 2.0+
  Backtrace:
      x
   1. \-clinDataReview::gitbook_clinDataReview_report() at test_reportingFormats.R:5:8
   2.   \-bookdown::gitbook(...)
   3.     \-bookdown::html_document2(...)
   4.       \-rmarkdown::html_document(...)
   5.         \-rmarkdown:::add_anchor_sections(anchor_sections, section_divs)
  -- Error (test_reportingFormats.R:58:2): A logo is correctly added to a gitbook clinical data review report --
  Error: Using anchor_sections requires Pandoc 2.0+
  Backtrace:
       x
    1. +-testthat::expect_silent(res <- gitbook_clinDataReview_report(logo = pathPlotBasic)) at test_reportingFormats.R:58:8
    2. | \-testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. |   +-testthat .capture(...)
    4. |   | +-withr::with_output_sink(...)
    5. |   | | \-base::force(code)
    6. |   | +-base::withCallingHandlers(...)
    7. |   | \-base::withVisible(code)
    8. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. \-clinDataReview::gitbook_clinDataReview_report(logo = pathPlotBasic)
   10.   \-bookdown::gitbook(...)
   11.     \-bookdown::html_document2(...)
   12.       \-rmarkdown::html_document(...)
   13.         \-rmarkdown:::add_anchor_sections(anchor_sections, section_divs)
  
  [ FAIL 3 | WARN 1 | SKIP 23 | PASS 424 ]
  Error: Test failures
  Execution halted
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in 'inst/doc' ... OK
* checking re-building of vignette outputs ... [36s] OK
* checking PDF version of manual ... OK
* DONE
Status: 1 ERROR, 1 NOTE
