CRAN Package Check Results for Package officedown

Last updated on 2025-03-15 07:50:30 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.3 4.73 41.36 46.09 ERROR
r-devel-linux-x86_64-debian-gcc 0.3.3 3.46 33.44 36.90 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.3 75.70 ERROR
r-devel-linux-x86_64-fedora-gcc 0.3.3 151.58 ERROR
r-devel-macos-arm64 0.3.3 39.00 OK
r-devel-macos-x86_64 0.3.3 56.00 OK
r-devel-windows-x86_64 0.3.3 9.00 69.00 78.00 ERROR
r-patched-linux-x86_64 0.3.3 OK
r-release-linux-x86_64 0.3.3 4.28 46.42 50.70 OK
r-release-macos-arm64 0.3.3 45.00 OK
r-release-macos-x86_64 0.3.3 81.00 OK
r-release-windows-x86_64 0.3.3 7.00 69.00 76.00 OK
r-oldrel-macos-arm64 0.3.3 OK
r-oldrel-macos-x86_64 0.3.3 77.00 OK
r-oldrel-windows-x86_64 0.3.3 9.00 75.00 84.00 OK

Check Details

Version: 0.3.3
Check: examples
Result: ERROR Running examples in ‘officedown-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: knit_print_block > ### Title: Force Block Printing while Knitting > ### Aliases: knit_print_block > > ### ** Examples > > library(rmarkdown) > rmd_file_src <- system.file( + package = "officedown", "examples", "word_loop.Rmd") > rmd_file_des <- tempfile(fileext = ".Rmd") > if(pandoc_available()){ + + file.copy(rmd_file_src, to = rmd_file_des) + docx_file_1 <- tempfile(fileext = ".docx") + render(rmd_file_des, output_file = docx_file_1, quiet = TRUE) + + if(file.exists(docx_file_1)){ + message("file ", docx_file_1, " has been written.") + } + } Error in strsplit(x, as.character(split), fixed, perl, useBytes) : NA in coercion to boolean Calls: render ... create_output_format -> do.call -> <Anonymous> -> get_fun -> strsplit Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.3.3
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/4s] 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/RtmpgKGB99/filef07782cefc6d7.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/RtmpgKGB99/filef0778210d8d61.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/RtmpgKGB99/filef07783c0e9331.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/RtmpgKGB99/filef077864029eca.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/RtmpgKGB99/filef077850a82c68.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 Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.3.3
Check: tests
Result: ERROR 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 '/tmp/RtmpomVj4x/file1f2df04f5acf73.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 '/tmp/RtmpomVj4x/file1f2df012a69cec.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 '/tmp/RtmpomVj4x/file1f2df029cdbe06.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 '/tmp/RtmpomVj4x/file1f2df047cc9e63.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 '/tmp/RtmpomVj4x/file1f2df05a6c45dd.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 Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.3
Check: examples
Result: ERROR Running examples in ‘officedown-Ex.R’ failed The error most likely occurred in: > ### Name: knit_print_block > ### Title: Force Block Printing while Knitting > ### Aliases: knit_print_block > > ### ** Examples > > library(rmarkdown) > rmd_file_src <- system.file( + package = "officedown", "examples", "word_loop.Rmd") > rmd_file_des <- tempfile(fileext = ".Rmd") > if(pandoc_available()){ + + file.copy(rmd_file_src, to = rmd_file_des) + docx_file_1 <- tempfile(fileext = ".docx") + render(rmd_file_des, output_file = docx_file_1, quiet = TRUE) + + if(file.exists(docx_file_1)){ + message("file ", docx_file_1, " has been written.") + } + } Error in strsplit(x, as.character(split), fixed, perl, useBytes) : NA in coercion to boolean Calls: render ... create_output_format -> do.call -> <Anonymous> -> get_fun -> strsplit Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

Version: 0.3.3
Check: tests
Result: ERROR Running ‘testthat.R’ 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 '/tmp/RtmpRqgxKh/working_dir/Rtmp8j7ueA/file373f0e18db0cbd.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 '/tmp/RtmpRqgxKh/working_dir/Rtmp8j7ueA/file373f0e3ea16a67.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 '/tmp/RtmpRqgxKh/working_dir/Rtmp8j7ueA/file373f0e79b12a79.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 '/tmp/RtmpRqgxKh/working_dir/Rtmp8j7ueA/file373f0e2550700e.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 '/tmp/RtmpRqgxKh/working_dir/Rtmp8j7ueA/file373f0ed6f6d05.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 Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.3.3
Check: tests
Result: ERROR Running ‘testthat.R’ [6s/16s] 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 '/tmp/RtmpgH5NSQ/working_dir/RtmpsDps5w/file1363ed758c6a36.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 '/tmp/RtmpgH5NSQ/working_dir/RtmpsDps5w/file1363ed3d7cae90.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 '/tmp/RtmpgH5NSQ/working_dir/RtmpsDps5w/file1363ed24d22b87.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 '/tmp/RtmpgH5NSQ/working_dir/RtmpsDps5w/file1363ed5887113c.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 '/tmp/RtmpgH5NSQ/working_dir/RtmpsDps5w/file1363edea3b341.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 Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.3.3
Check: tests
Result: ERROR Running 'testthat.R' [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 "D:\temp\2025_03_13_13_33_54_14899\RtmpeYOGtX\file44d037bd63c9.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 "D:\temp\2025_03_13_13_33_54_14899\RtmpeYOGtX\file44d03abe727b.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 "D:\temp\2025_03_13_13_33_54_14899\RtmpeYOGtX\file44d0371d3a23.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 "D:\temp\2025_03_13_13_33_54_14899\RtmpeYOGtX\file44d015f83d37.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 "D:\temp\2025_03_13_13_33_54_14899\RtmpeYOGtX\file44d07282728f.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 Flavor: r-devel-windows-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.