Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("REPLesentR")
  > 
  > if (requireNamespace("testthat", quietly = TRUE)) {
  +   testthat::test_check("REPLesentR")
  + }
  Hi
  # Slide formats examples 
   
  //center type 'e' to see the source of this slide 
   
  //empty 
   
  //code 
  ```{r} 
  .fileName <- system.file("Introduction.Rmd", package = "REPLesentR") 
  .allSlide <- readLines(.fileName) 
  .thisSlidePosition <- grep("^# slide formats examples", .allSlide, TRUE) 
  .thisSlide <- .allSlide[.thisSlidePosition:(.thisSlidePosition + 14)] 
  for (row in .thisSlide) cat(row, "\n") 
  ``` 
   
  [1] "/data/gannet/ripley/R/packages/tests-clang/REPLesentR.Rcheck/REPLesentR/Introduction.Rmd"
  ********************************************************************************
  *                                                                              *
  *                                                                              *
  *                                                                              *
  *                                                                              *
  *                                                                              *
  *                                   HEAD LINE                                  *
  *                                                                              *
  *     x <- 1                                                                   *
  *     y <- 2                                                                   *
  *                                                                              *
  *                                                                              *
  *                                 centered text                                *
  * - '//code' is very important                                                 *
  *     cat('real code is the real deal')                                        *
  *                                                                              *
  *                                                                              *
  *                                                                              *
  *                                                                              *
  *                                                                              *
  *                                                                              *
  ********************************************************************************
  ── 1. Failure: Testing the introduction presentation (@test-SlideDeck.R#8)  ────
  length(slideDeck) == 10 isn't true.
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 13 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
  1. Failure: Testing the introduction presentation (@test-SlideDeck.R#8) 
  
  Error: testthat unit tests failed
  Execution halted