Running ‘testthat.R’ [2s/6s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ariExtra)
  > 
  > test_check("ariExtra")
    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 file7a3a33d11a76.utf8.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output /home/hornik/tmp/scratch/RtmptHKyze/file7a3a670c900b.html --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/xaringan/rmarkdown/templates/xaringan/resources/default.html --no-highlight --include-in-header /home/hornik/tmp/scratch/RtmptHKyze/rmarkdown-str7a3a6ad99131.html --include-before-body /home/hornik/tmp/scratch/RtmptHKyze/xaringan7a3a15018c77.md --include-after-body /home/hornik/tmp/scratch/RtmptHKyze/xaringan7a3a7ed64dd.js --variable title-slide=true --variable math=true 
  $script
  [1] "/home/hornik/tmp/scratch/RtmptHKyze/file7a3a11c35d7f.md"
  
  $paragraphs
  [1] "this"      "is"        "one"       "word"      "per slide"
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● On CRAN (1)
  
  ══ Warnings ════════════════════════════════════════════════════════════════════
  ── Warning (test-gs.R:5:3): running bad id for gs_to_ari ───────────────────────
  This presentation may not be available, did you turn link sharing on?
  Backtrace:
   1. ariExtra::gs_to_ari(id, verbose = 2, open = FALSE) test-gs.R:5:2
   2. ariExtra:::download_gs_file(id = path, out_type = "pptx")
  ── Warning (test-gs.R:5:3): running bad id for gs_to_ari ───────────────────────
  error 1 in extracting from zip file
  Backtrace:
   1. ariExtra::gs_to_ari(id, verbose = 2, open = FALSE) test-gs.R:5:2
   2. ariExtra:::get_pptx_script(...)
   3. ariExtra::pptx_notes(path)
   4. ariExtra::pptx_slide_note_df(file)
   5. ariExtra::unzip_pptx(file)
   6. utils::unzip(file, exdir = tdir)
  ── Warning (test-pptx.R:6:3): The bad ID should fail ───────────────────────────
  This presentation may not be available, did you turn link sharing on?
  Backtrace:
   1. testthat::expect_error(gs_to_ari(bad_id)) test-pptx.R:6:2
   6. ariExtra::gs_to_ari(bad_id)
   7. ariExtra:::download_gs_file(id = path, out_type = "pptx")
  ── Warning (test-pptx.R:6:3): The bad ID should fail ───────────────────────────
  error 1 in extracting from zip file
  Backtrace:
    1. testthat::expect_error(gs_to_ari(bad_id)) test-pptx.R:6:2
    6. ariExtra::gs_to_ari(bad_id)
    7. ariExtra:::get_pptx_script(...)
    8. ariExtra::pptx_notes(path)
    9. ariExtra::pptx_slide_note_df(file)
   10. ariExtra::unzip_pptx(file)
   11. utils::unzip(file, exdir = tdir)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-gs.R:5:3): running bad id for gs_to_ari ─────────────────────────
  Error: can only write character objects
  Backtrace:
      █
   1. └─ariExtra::gs_to_ari(id, verbose = 2, open = FALSE) test-gs.R:5:2
   2.   └─ariExtra:::get_pptx_script(...)
   3.     └─base::writeLines(res, script)
  
  [ FAIL 1 | WARN 4 | SKIP 1 | PASS 6 ]
  Error: Test failures
  Execution halted