CRAN Package Check Results for Package officedown

Last updated on 2025-03-09 12:51:47 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.3 3.62 42.00 45.62 ERROR
r-devel-linux-x86_64-debian-gcc 0.3.3 3.68 32.18 35.86 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.3 82.30 ERROR
r-devel-linux-x86_64-fedora-gcc 0.3.3 94.82 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 8.00 62.00 70.00 ERROR
r-patched-linux-x86_64 0.3.3 4.51 46.55 51.06 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 7.00 70.00 77.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 78.00 87.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/RtmptiYG5m/file1457e631ac20e5.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/RtmptiYG5m/file1457e67200603c.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/RtmptiYG5m/file1457e61d64e98f.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/RtmptiYG5m/file1457e626bcf6ad.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/RtmptiYG5m/file1457e6580c6ef6.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/RtmpU9ziFq/file19833f5be3e6da.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/RtmpU9ziFq/file19833f6167cd4d.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/RtmpU9ziFq/file19833f2d0d04b4.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/RtmpU9ziFq/file19833f1d215dd4.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/RtmpU9ziFq/file19833f1d40f238.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’ [4s/12s] 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/RtmptwqyIs/working_dir/Rtmpc5xovp/file31d4da7d25868d.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/RtmptwqyIs/working_dir/Rtmpc5xovp/file31d4da6c36f3fc.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/RtmptwqyIs/working_dir/Rtmpc5xovp/file31d4da24e2894b.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/RtmptwqyIs/working_dir/Rtmpc5xovp/file31d4da7e66e7b5.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/RtmptwqyIs/working_dir/Rtmpc5xovp/file31d4da196a847a.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’ [4s/13s] 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/RtmpvixCB2/working_dir/RtmppPcBbo/file18feff5dc890a.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/RtmpvixCB2/working_dir/RtmppPcBbo/file18feffad6c398.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/RtmpvixCB2/working_dir/RtmppPcBbo/file18feff62f33cb.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/RtmpvixCB2/working_dir/RtmppPcBbo/file18feffbaac13c.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/RtmpvixCB2/working_dir/RtmppPcBbo/file18feff221f678a.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_07_01_50_00_19112\RtmpOwBLby\file198d027156f13.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_07_01_50_00_19112\RtmpOwBLby\file198d03a4d5b54.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_07_01_50_00_19112\RtmpOwBLby\file198d069b14ef8.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_07_01_50_00_19112\RtmpOwBLby\file198d069c7698d.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_07_01_50_00_19112\RtmpOwBLby\file198d01a9d5cd8.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