Running ‘testthat.R’ [34s/41s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(clinDataReview)
  > 
  > test_check("clinDataReview")
  
  
  |            |            |
  |:-----------|:-----------|
  |pathSDTMs   |pathSDTMs   |
  |pathNewSDTM |pathNewSDTM |
  |dateTime    |20200101    |
  
  
  
  
  |                                         |            |
  |:----------------------------------------|:-----------|
  |pathSDTMs                                |pathSDTMs   |
  |pathNewSDTM                              |pathNewSDTM |
  |dateTime                                 |20200101    |
  |Report & patient profiles creation date: |2021-06-30  |
  
  
  
  
  |            |            |
  |:-----------|:-----------|
  |pathSDTMs   |pathSDTMs   |
  |pathNewSDTM |pathNewSDTM |
  |dateTime    |20200101    |
  
  
  
  
  processing file: sessionInfo5c5925ac729e.Rmd
    ordinary text without R code
  
  label: unnamed-chunk-1 (with options) 
  List of 3
   $ echo   : logi FALSE
   $ results: chr "asis"
   $ indent : chr " "
  
  output file: sessionInfo5c5925ac729e.knit.md
  
    adding: report.html (deflated 63%)
    adding: report_dependencies5c591d595c81/ (stored 0%)
    adding: report_dependencies5c591d595c81/file5c592873104.html (deflated 8%)
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (23)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_render_clinDataReviewReport.R:168:2): The creation of html file from markdown files is successful ──
  Error: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
  Backtrace:
      █
   1. └─clinDataReview::convertMdToHtml(...) test_render_clinDataReviewReport.R:168:8
   2.   └─rmarkdown::render(...)
   3.     └─rmarkdown::pandoc_available(required_pandoc, error = TRUE)
   4.       └─rmarkdown:::stop2(paste(msg, collapse = " "))
  ── Failure (test_templates.R:37:4): Creation of division template ──────────────
  `... <- NULL` threw an error.
  Message: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
  Class:   simpleError/error/condition
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test_templates.R:37:10
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─rmarkdown::render(...)
   7.   └─rmarkdown::pandoc_available(required_pandoc, error = TRUE)
   8.     └─rmarkdown:::stop2(paste(msg, collapse = " "))
  ── Error (test_templates.R:45:4): Creation of division template ────────────────
  Error: object 'outputFile' not found
  Backtrace:
      █
   1. ├─testthat::expect_true(file.exists(outputFile)) test_templates.R:45:10
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─base::file.exists(outputFile)
  
  [ FAIL 3 | WARN 32 | SKIP 23 | PASS 442 ]
  Error: Test failures
  Execution halted