CRAN Package Check Results for Package officedown

Last updated on 2025-03-20 11:53:41 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.3 4.57 41.69 46.26 ERROR
r-devel-linux-x86_64-debian-gcc 0.4.0 3.69 39.71 43.40 OK
r-devel-linux-x86_64-fedora-clang 0.4.0 96.70 OK
r-devel-linux-x86_64-fedora-gcc 0.4.0 106.81 OK
r-devel-macos-arm64 0.4.0 39.00 OK
r-devel-macos-x86_64 0.4.0 62.00 OK
r-devel-windows-x86_64 0.3.3 7.00 63.00 70.00 ERROR
r-patched-linux-x86_64 0.3.3 4.70 40.47 45.17 ERROR
r-release-linux-x86_64 0.4.0 4.25 49.04 53.29 OK
r-release-macos-arm64 0.4.0 42.00 OK
r-release-macos-x86_64 0.4.0 80.00 OK
r-release-windows-x86_64 0.4.0 6.00 72.00 78.00 OK
r-oldrel-macos-arm64 0.4.0 10.00 ERROR
r-oldrel-macos-x86_64 0.4.0 76.00 OK
r-oldrel-windows-x86_64 0.3.3 7.00 76.00 83.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-patched-linux-x86_64

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/RtmpC63kmX/filee49ed1235ec18.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/RtmpC63kmX/filee49ed13d0d87c.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/RtmpC63kmX/filee49ed5849648c.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/RtmpC63kmX/filee49ed3eff791f.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/RtmpC63kmX/filee49ed5a115ca0.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: 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 Flavor: r-devel-windows-x86_64

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_17_01_26_54_17999\RtmpOK5M7H\file138242af6a35.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_17_01_26_54_17999\RtmpOK5M7H\file138241fae4665.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_17_01_26_54_17999\RtmpOK5M7H\file138243e6e6492.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_17_01_26_54_17999\RtmpOK5M7H\file138241c9a61c7.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_17_01_26_54_17999\RtmpOK5M7H\file138243e3359fd.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

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/RtmpCJJ4Jy/filebd8c17abbf803.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/RtmpCJJ4Jy/filebd8c15f47d53b.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/RtmpCJJ4Jy/filebd8c16623cd25.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/RtmpCJJ4Jy/filebd8c1360b14.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/RtmpCJJ4Jy/filebd8c11e8877c5.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-patched-linux-x86_64

Version: 0.4.0
Check: whether package can be installed
Result: ERROR Installation failed. Flavor: r-oldrel-macos-arm64