Running ‘testthat.R’ [2s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(officedown)
  > 
  > test_check("officedown")
  [ FAIL 6 | WARN 0 | SKIP 5 | PASS 0 ]
  
  ══ Skipped tests (5) ═══════════════════════════════════════════════════════════
  • On CRAN (1): 'test-rdocx-sections.R:5:1'
  • doconv::msoffice_available() is not TRUE (4): 'test-rdocx-lists.R:58:3',
    'test-rdocx-plots.R:30:3', 'test-rdocx-tables.R:29:3', 'test-rpptx.R:13:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-rdocx-lists.R:14:3'): reading lists ────────────────────────────
  Error: could not find file '/home/hornik/tmp/scratch/RtmpCL60ng/filec482373ed81d8.docx'
  Backtrace:
      ▆
   1. └─global get_docx_xml(docx_file) at test-rdocx-lists.R:14:3
   2.   └─officer::read_docx(x)
  ── Error ('test-rdocx-par-settings.R:14:3'): scanning settings ─────────────────
  Error: could not find file '/home/hornik/tmp/scratch/RtmpCL60ng/filec4823664bb56.docx'
  Backtrace:
      ▆
   1. └─global get_docx_xml(docx_file) at test-rdocx-par-settings.R:14:3
   2.   └─officer::read_docx(x)
  ── Error ('test-rdocx-par-settings.R:25:3'): change styles ─────────────────────
  Error: could not find file '/home/hornik/tmp/scratch/RtmpCL60ng/filec4823af801ed.docx'
  Backtrace:
      ▆
   1. └─global get_docx_xml(docx_file) at test-rdocx-par-settings.R:25:3
   2.   └─officer::read_docx(x)
  ── Error ('test-rdocx-plots.R:16:3'): reading captions ─────────────────────────
  Error: could not find file '/home/hornik/tmp/scratch/RtmpCL60ng/filec48239b8b3a5.docx'
  Backtrace:
      ▆
   1. └─global get_docx_xml(docx_file) at test-rdocx-plots.R:16:3
   2.   └─officer::read_docx(x)
  ── Error ('test-rdocx-tables.R:14:3'): reading captions ────────────────────────
  Error: could not find file '/home/hornik/tmp/scratch/RtmpCL60ng/filec48234f3c3662.docx'
  Backtrace:
      ▆
   1. └─global get_docx_xml(docx_file) at test-rdocx-tables.R:14:3
   2.   └─officer::read_docx(x)
  ── Failure ('test-render-r.R:22:3'): rendering R file ──────────────────────────
  render_rmd(filename, output_file = docx_file) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 6 | WARN 0 | SKIP 5 | PASS 0 ]
  Error: Test failures
  Execution halted