CRAN Package Check Results for Package officer

Last updated on 2025-12-06 00:48:51 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.7.1 26.35 217.46 243.81 OK
r-devel-linux-x86_64-debian-gcc 0.7.2 16.76 101.57 118.33 ERROR
r-devel-linux-x86_64-fedora-clang 0.7.2 162.00 244.15 406.15 OK
r-devel-linux-x86_64-fedora-gcc 0.7.2 130.00 257.50 387.50 OK
r-devel-windows-x86_64 0.7.1 26.00 266.00 292.00 OK
r-patched-linux-x86_64 0.7.1 29.58 191.33 220.91 OK
r-release-linux-x86_64 0.7.1 28.62 195.36 223.98 OK
r-release-macos-arm64 0.7.2 7.00 51.00 58.00 OK
r-release-macos-x86_64 0.7.2 22.00 225.00 247.00 OK
r-release-windows-x86_64 0.7.1 28.00 256.00 284.00 OK
r-oldrel-macos-arm64 0.7.2 6.00 54.00 60.00 OK
r-oldrel-macos-x86_64 0.7.2 32.00 240.00 272.00 OK
r-oldrel-windows-x86_64 0.7.2 46.00 317.00 363.00 OK

Check Details

Version: 0.7.2
Check: examples
Result: ERROR Running examples in ‘officer-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: floating_external_img > ### Title: Floating external image > ### Aliases: floating_external_img > > ### ** Examples > > library(officer) > srcfile <- file.path(R.home("doc"), "html", "logo.jpg") > floatimg <- floating_external_img( + src = srcfile, height = 1.06 / 2, width = 1.39 / 2, + pos_x = 0, pos_y = 0, + pos_h_from = "margin", pos_v_from = "margin" + ) > > text <- paste0( + " is a floating image in a ", + paste0(rep("very ", 30), collapse = ""), + " long text!" + ) > > # docx example ---- > x <- read_docx() > fp_t <- fp_text(font.size = 20, color = "red") > an_fpar <- fpar(floatimg, ftext(text, fp_t)) > x <- body_add_fpar(x, an_fpar) > print(x, target = tempfile(fileext = ".docx")) > > # rtf example ---- > rtf_doc <- rtf_doc() > rtf_doc <- rtf_add(rtf_doc, an_fpar) > print(rtf_doc, target = tempfile(fileext = ".rtf")) Error in loadNamespace(x) : there is no package called ‘magick’ Calls: print ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.7.2
Check: tests
Result: ERROR Running ‘testthat.R’ [35s/36s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > suppressPackageStartupMessages({ + library(testthat) + library(officer) + library(xml2) + }) > > test_check("officer") Loading required package: withr Saving _problems/test-pptx-info-310.R Saving _problems/test-pptx-info-310.R Saving _problems/test-pptx-info-310.R Saving _problems/test-pptx-info-310.R Saving _problems/test-pptx-info-310.R Saving _problems/test-pptx-info-310.R Saving _problems/test-pptx-info-310.R Saving _problems/test-pptx-info-312.R [ FAIL 8 | WARN 0 | SKIP 22 | PASS 1230 ] ══ Skipped tests (22) ══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════ • On CRAN (1): 'test-missing-tableStyles.R:2:3' • empty test (1): 'test-defunct.R:1:1' • {doconv} is not installed (7): 'test-pptx-add.R:49:3', 'test-pptx-add.R:69:3', 'test-pptx-add.R:150:3', 'test-pptx-add.R:180:3', 'test-pptx-add.R:201:3', 'test-pptx-add.R:242:3', 'test-pptx-info.R:127:3' • {knitr} is not installed (4): 'test-knitr-utils.R:2:3', 'test-knitr-utils.R:25:3', 'test-knitr-utils.R:71:3', 'test-knitr-utils.R:118:3' • {magick} is not installed. (9): 'test-images.R:437:3', 'test-images.R:486:3', 'test-images.R:512:3', 'test-images.R:535:3', 'test-images.R:556:3', 'test-images.R:579:3', 'test-images.R:602:3', 'test-images.R:636:3', 'test-to_rtf.R:26:3' ══ Failed tests ════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════ ── Failure ('test-pptx-info.R:310:5'): plot layout properties: layout arg takes numeric index ── Expected `discarded_plot(x, idx)` not to throw any errors. Actually got a <packageNotFoundError> with message: there is no package called 'gdtools' ── Failure ('test-pptx-info.R:310:5'): plot layout properties: layout arg takes numeric index ── Expected `discarded_plot(x, idx)` not to throw any errors. Actually got a <packageNotFoundError> with message: there is no package called 'gdtools' ── Failure ('test-pptx-info.R:310:5'): plot layout properties: layout arg takes numeric index ── Expected `discarded_plot(x, idx)` not to throw any errors. Actually got a <packageNotFoundError> with message: there is no package called 'gdtools' ── Failure ('test-pptx-info.R:310:5'): plot layout properties: layout arg takes numeric index ── Expected `discarded_plot(x, idx)` not to throw any errors. Actually got a <packageNotFoundError> with message: there is no package called 'gdtools' ── Failure ('test-pptx-info.R:310:5'): plot layout properties: layout arg takes numeric index ── Expected `discarded_plot(x, idx)` not to throw any errors. Actually got a <packageNotFoundError> with message: there is no package called 'gdtools' ── Failure ('test-pptx-info.R:310:5'): plot layout properties: layout arg takes numeric index ── Expected `discarded_plot(x, idx)` not to throw any errors. Actually got a <packageNotFoundError> with message: there is no package called 'gdtools' ── Failure ('test-pptx-info.R:310:5'): plot layout properties: layout arg takes numeric index ── Expected `discarded_plot(x, idx)` not to throw any errors. Actually got a <packageNotFoundError> with message: there is no package called 'gdtools' ── Failure ('test-pptx-info.R:312:3'): plot layout properties: layout arg takes numeric index ── Expected `discarded_plot(x, 1, "Office Theme")` not to throw any errors. Actually got a <packageNotFoundError> with message: there is no package called 'gdtools' [ FAIL 8 | WARN 0 | SKIP 22 | PASS 1230 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc