Running ‘testthat.R’ [40s/76s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ariExtra)
  > 
  > test_check("ariExtra")
  Converting page 1 to /tmp/RtmpSuLbwk/working_dir/RtmpZYDORD/file3c5c854cb45899.png... done!
  Converting page 2 to /tmp/RtmpSuLbwk/working_dir/RtmpZYDORD/file3c5c857299e8aa.png... done!
  Converting page 3 to /tmp/RtmpSuLbwk/working_dir/RtmpZYDORD/file3c5c854235c95.png... done!
  Converting page 4 to /tmp/RtmpSuLbwk/working_dir/RtmpZYDORD/file3c5c8565d6ba2.png... done!
  Converting page 5 to /tmp/RtmpSuLbwk/working_dir/RtmpZYDORD/file3c5c855081eed6.png... done!
  Converting page 6 to /tmp/RtmpSuLbwk/working_dir/RtmpZYDORD/file3c5c8569b82e72.png... done!
  Converting page 7 to /tmp/RtmpSuLbwk/working_dir/RtmpZYDORD/file3c5c853b18f607.png... done!
  Converting page 1 to /tmp/RtmpSuLbwk/working_dir/RtmpZYDORD/file3c5c8550fff521.png... done!
  Converting page 2 to /tmp/RtmpSuLbwk/working_dir/RtmpZYDORD/file3c5c85376cbfa.png... done!
  Converting page 3 to /tmp/RtmpSuLbwk/working_dir/RtmpZYDORD/file3c5c85422baa12.png... done!
  Converting page 4 to /tmp/RtmpSuLbwk/working_dir/RtmpZYDORD/file3c5c857f801b19.png... done!
  Converting page 5 to /tmp/RtmpSuLbwk/working_dir/RtmpZYDORD/file3c5c857fc83430.png... done!
  Converting page 6 to /tmp/RtmpSuLbwk/working_dir/RtmpZYDORD/file3c5c853896fcf4.png... done!
  Converting page 7 to /tmp/RtmpSuLbwk/working_dir/RtmpZYDORD/file3c5c855dce1d43.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 file3c5c8552b1d3da.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output /tmp/RtmpSuLbwk/working_dir/RtmpZYDORD/file3c5c8558b44f5b.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/RtmpSuLbwk/working_dir/RtmpZYDORD/rmarkdown-str3c5c8572ef3217.html --include-before-body /tmp/RtmpSuLbwk/working_dir/RtmpZYDORD/xaringan3c5c855f042f5.md --include-after-body /tmp/RtmpSuLbwk/working_dir/RtmpZYDORD/xaringan3c5c85902eb14.js --variable title-slide=true --variable math=true 
  $script
  [1] "/tmp/RtmpSuLbwk/working_dir/RtmpZYDORD/file3c5c855c14af50.md"
  
  $paragraphs
  [1] "this"      "is"        "one"       "word"      "per slide"
  
  Converting page 1 to /tmp/RtmpSuLbwk/working_dir/RtmpZYDORD/file3c5c8526b38d5.png... done!
  Converting page 2 to /tmp/RtmpSuLbwk/working_dir/RtmpZYDORD/file3c5c85373b8d60.png... done!
  Converting page 3 to /tmp/RtmpSuLbwk/working_dir/RtmpZYDORD/file3c5c853d82b188.png... done!
  Converting page 4 to /tmp/RtmpSuLbwk/working_dir/RtmpZYDORD/file3c5c853f065190.png... done!
  Converting page 5 to /tmp/RtmpSuLbwk/working_dir/RtmpZYDORD/file3c5c8549846536.png... done!
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-rmd_to_ari.R:41:9): xaringan example ──────────────────────────
  `{ ... }` threw an error with unexpected message.
  Expected match: "Failed to generate|Cannot find.* Google Chrome|pagedown package needed|not executable"
  Actual message: "Cannot find headless Chrome after 20 attempts"
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-rmd_to_ari.R:41:8
    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, rendered_file = rendered_file) test-rmd_to_ari.R:42:10
    7.   └─ariExtra::rmd_to_ari(...) test-rmd_to_ari.R:20:6
    8.     └─ariExtra:::get_nslides(slides)
    9.       └─pagedown::chrome_print(input = slides, output = rendered_file)
   10.         └─pagedown:::is_remote_protocol_ok(debug_port, verbose = verbose)
  
  [ FAIL 1 | WARN 6 | SKIP 1 | PASS 5 ]
  Error: Test failures
  Execution halted