Running ‘testthat.R’ [41s/72s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ariExtra)
  > 
  > test_check("ariExtra")
  Converting page 1 to /tmp/RtmpRp2iaZ/working_dir/RtmpZ8dEy6/file19fa7c66ec073a.png... done!
  Converting page 2 to /tmp/RtmpRp2iaZ/working_dir/RtmpZ8dEy6/file19fa7cd9141ea.png... done!
  Converting page 3 to /tmp/RtmpRp2iaZ/working_dir/RtmpZ8dEy6/file19fa7c7e031683.png... done!
  Converting page 4 to /tmp/RtmpRp2iaZ/working_dir/RtmpZ8dEy6/file19fa7c42098c55.png... done!
  Converting page 5 to /tmp/RtmpRp2iaZ/working_dir/RtmpZ8dEy6/file19fa7c768fe6e3.png... done!
  Converting page 6 to /tmp/RtmpRp2iaZ/working_dir/RtmpZ8dEy6/file19fa7c7cf7be29.png... done!
  Converting page 7 to /tmp/RtmpRp2iaZ/working_dir/RtmpZ8dEy6/file19fa7c8ab85ee.png... done!
  Converting page 1 to /tmp/RtmpRp2iaZ/working_dir/RtmpZ8dEy6/file19fa7c66079fbf.png... done!
  Converting page 2 to /tmp/RtmpRp2iaZ/working_dir/RtmpZ8dEy6/file19fa7cd27622d.png... done!
  Converting page 3 to /tmp/RtmpRp2iaZ/working_dir/RtmpZ8dEy6/file19fa7c1a6027a9.png... done!
  Converting page 4 to /tmp/RtmpRp2iaZ/working_dir/RtmpZ8dEy6/file19fa7c51acf7f5.png... done!
  Converting page 5 to /tmp/RtmpRp2iaZ/working_dir/RtmpZ8dEy6/file19fa7c59d67aac.png... done!
  Converting page 6 to /tmp/RtmpRp2iaZ/working_dir/RtmpZ8dEy6/file19fa7c3b077cbe.png... done!
  Converting page 7 to /tmp/RtmpRp2iaZ/working_dir/RtmpZ8dEy6/file19fa7c2c2a2164.png... done!
    ordinary text without R code
  
  label: setup (with options) 
  List of 1
   $ include: logi FALSE
  
    ordinary text without R code
  
  label: unnamed-chunk-1 (with options) 
  List of 1
   $ fig.height: num 4
  
    ordinary text without R code
  
  /usr/bin/pandoc +RTS -K512m -RTS file19fa7c3a94b98c.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output /tmp/RtmpRp2iaZ/working_dir/RtmpZ8dEy6/file19fa7c1b7698df.html --lua-filter /data/gannet/ripley/R/test-4.2/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /data/gannet/ripley/R/test-4.2/rmarkdown/rmarkdown/lua/latex-div.lua -V 'mathjax-url=https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-MML-AM_CHTML' -V 'title-slide-class=center, middle, inverse, title-slide' --standalone --section-divs --template /data/gannet/ripley/R/test-4.2/xaringan/rmarkdown/templates/xaringan/resources/default.html --no-highlight --include-in-header /tmp/RtmpRp2iaZ/working_dir/RtmpZ8dEy6/rmarkdown-str19fa7c3fdab0ab.html --include-before-body /tmp/RtmpRp2iaZ/working_dir/RtmpZ8dEy6/xaringan19fa7c3d5a1f7a.md --include-after-body /tmp/RtmpRp2iaZ/working_dir/RtmpZ8dEy6/xaringan19fa7c3d7be2ea.js --variable title-slide=true --variable math=true 
  $script
  [1] "/tmp/RtmpRp2iaZ/working_dir/RtmpZ8dEy6/file19fa7c66717679.md"
  
  $paragraphs
  [1] "this"      "is"        "one"       "word"      "per slide"
  
  [2021-05-30 09:49:55] [error] handle_read_frame error: asio.system:104 (Connection reset by peer)
  Converting page 1 to /tmp/RtmpRp2iaZ/working_dir/RtmpZ8dEy6/file19fa7c33e94a04.png... done!
  Converting page 2 to /tmp/RtmpRp2iaZ/working_dir/RtmpZ8dEy6/file19fa7c48fb7376.png... done!
  Converting page 3 to /tmp/RtmpRp2iaZ/working_dir/RtmpZ8dEy6/file19fa7c74db4acb.png... done!
  Converting page 4 to /tmp/RtmpRp2iaZ/working_dir/RtmpZ8dEy6/file19fa7c766d671a.png... done!
  Converting page 5 to /tmp/RtmpRp2iaZ/working_dir/RtmpZ8dEy6/file19fa7cba153fc.png... done!
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-rmd_to_ari.R:95:7): xaringan example with pre-rendered ────────
  `{ ... }` threw an error with unexpected message.
  Expected match: "Failed to generate|Cannot find.* Google Chrome|pagedown package needed|not executable"
  Actual message: "all(file.exists(images)) is not TRUE"
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-rmd_to_ari.R:95:6
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─ariExtra:::run_rmd("webshot", script = script) test-rmd_to_ari.R:96:8
   7.   └─ariExtra::rmd_to_ari(...) test-rmd_to_ari.R:72:6
   8.     └─ariExtra::make_ari_document(...)
   9.       └─base::stopifnot(...)
  ── Failure (test-rmd_to_ari.R:105:7): xaringan example with pre-rendered ───────
  `{ ... }` did not throw an error.
  
  [ FAIL 2 | WARN 11 | SKIP 1 | PASS 6 ]
  Error: Test failures
  Execution halted