Running ‘testthat.R’ [13s/25s]
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")
  Saving _problems/test-rdocx-lists-41.R
  Saving _problems/test-rdocx-lists-50.R
  Saving _problems/test-rdocx-par-settings-14.R
  Saving _problems/test-rdocx-par-settings-15.R
  Saving _problems/test-rdocx-par-settings-16.R
  Saving _problems/test-rdocx-par-settings-25.R
  Saving _problems/test-rdocx-par-settings-27.R
  
  Quitting from plot-basic.Rmd:20-22 [unnamed-chunk-1]
  Saving _problems/test-rdocx-plots-13.R
  Saving _problems/test-render-r-20.R
  [ FAIL 9 | WARN 4 | SKIP 3 | PASS 12 ]
  
  ══ Skipped tests (3) ═══════════════════════════════════════════════════════════
  • On CRAN (1): 'test-rdocx-sections.R:5:1'
  • doconv::msoffice_available() is not TRUE (2): 'test-rdocx-lists.R:56:3',
    'test-rdocx-tables.R:27:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-rdocx-lists.R:41:3'): reading lists ──────────────────────────
  Expected `xml_attr(stylelink, "val")` to equal "new-ul".
  Differences:
  `actual`:   NA      
  `expected`: "new-ul"
  
  ── Failure ('test-rdocx-lists.R:50:3'): reading lists ──────────────────────────
  Expected `xml_attr(stylelink, "val")` to equal "new-ol".
  Differences:
  `actual`:   NA      
  `expected`: "new-ol"
  
  ── Failure ('test-rdocx-par-settings.R:14:3'): scanning settings ───────────────
  Expected `xml_attr(spacing_node, "after")` to equal "400".
  Differences:
  `actual`:   NA   
  `expected`: "400"
  
  ── Failure ('test-rdocx-par-settings.R:15:3'): scanning settings ───────────────
  Expected `xml_attr(spacing_node, "before")` to equal "2400".
  Differences:
  `actual`:   NA    
  `expected`: "2400"
  
  ── Failure ('test-rdocx-par-settings.R:16:3'): scanning settings ───────────────
  Expected `xml_attr(spacing_node, "line")` to equal "240".
  Differences:
  `actual`:   NA   
  `expected`: "240"
  
  ── Failure ('test-rdocx-par-settings.R:25:3'): change styles ───────────────────
  Expected `inherits(normal_node, "xml_missing")` to be FALSE.
  Differences:
  `actual`:   TRUE 
  `expected`: FALSE
  
  ── Failure ('test-rdocx-par-settings.R:27:3'): change styles ───────────────────
  Expected `inherits(normal_node, "xml_missing")` to be FALSE.
  Differences:
  `actual`:   TRUE 
  `expected`: FALSE
  
  ── Error ('test-rdocx-plots.R:13:3'): reading captions ─────────────────────────
  Error: could not find file '/tmp/RtmpOtCaWa/working_dir/RtmpNYI4mZ/file1ecf2b36f28d5a.docx'
  Backtrace:
      ▆
   1. └─officedown:::get_docx_xml(docx_file) at test-rdocx-plots.R:13:3
   2.   └─officer::read_docx(x) at ./helper-utils.R:21:3
  ── Failure ('test-render-r.R:20:3'): rendering R file ──────────────────────────
  Expected `render_rmd(filename, output_file = docx_file)` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  
  [ FAIL 9 | WARN 4 | SKIP 3 | PASS 12 ]
  Error:
  ! Test failures.
  Execution halted