CRAN Package Check Results for Package officedown

Last updated on 2025-03-13 05:51:51 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.3 4.91 41.84 46.75 ERROR
r-devel-linux-x86_64-debian-gcc 0.3.3 3.72 31.48 35.20 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.3 75.70 ERROR
r-devel-linux-x86_64-fedora-gcc 0.3.3 142.92 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 7.00 61.00 68.00 ERROR
r-patched-linux-x86_64 0.3.3 OK
r-release-linux-x86_64 0.3.3 4.88 46.31 51.19 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 6.00 69.00 75.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/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/RtmpOE69no/file11e812642d31dd.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/RtmpOE69no/file11e8124233f66.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/RtmpOE69no/file11e81248e232fd.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/RtmpOE69no/file11e81252c6969f.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/RtmpOE69no/file11e8127651a157.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/2s] 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/RtmpKl8snf/file32c14a4301ad67.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/RtmpKl8snf/file32c14a37eeb18e.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/RtmpKl8snf/file32c14a3aa0cd20.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/RtmpKl8snf/file32c14a6017450e.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/RtmpKl8snf/file32c14a77283c61.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’ 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/RtmpUA3eXO/working_dir/Rtmpv119wk/file2db78e611ffa35.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/RtmpUA3eXO/working_dir/Rtmpv119wk/file2db78e236e8a77.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/RtmpUA3eXO/working_dir/Rtmpv119wk/file2db78e6095cf9d.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/RtmpUA3eXO/working_dir/Rtmpv119wk/file2db78e1b339961.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/RtmpUA3eXO/working_dir/Rtmpv119wk/file2db78e2fd8fbc6.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_12_02_22_57_27274\RtmpuI0Uuj\file2f4d012db3bdf.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_12_02_22_57_27274\RtmpuI0Uuj\file2f4d0274e6579.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_12_02_22_57_27274\RtmpuI0Uuj\file2f4d06468598c.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_12_02_22_57_27274\RtmpuI0Uuj\file2f4d04dbc254b.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_12_02_22_57_27274\RtmpuI0Uuj\file2f4d040a72721.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