CRAN Package Check Results for Package officer

Last updated on 2026-06-07 02:50:30 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.7.5 31.62 239.75 271.37 OK
r-devel-linux-x86_64-debian-gcc 0.7.5 18.07 104.85 122.92 ERROR
r-devel-linux-x86_64-fedora-clang 0.7.5 58.00 399.72 457.72 OK
r-devel-linux-x86_64-fedora-gcc 0.7.5 56.00 399.73 455.73 OK
r-devel-windows-x86_64 0.7.5 30.00 309.00 339.00 OK
r-patched-linux-x86_64 0.7.5 31.15 225.94 257.09 OK
r-release-linux-x86_64 0.7.5 25.83 223.46 249.29 OK
r-release-macos-arm64 0.7.5 7.00 56.00 63.00 OK
r-release-macos-x86_64 0.7.5 21.00 277.00 298.00 OK
r-release-windows-x86_64 0.7.5 33.00 306.00 339.00 OK
r-oldrel-macos-arm64 0.7.5 6.00 61.00 67.00 OK
r-oldrel-macos-x86_64 0.7.5 20.00 233.00 253.00 OK
r-oldrel-windows-x86_64 0.7.5 44.00 379.00 423.00 OK

Check Details

Version: 0.7.5
Check: Rd files
Result: WARN cannot open the connection problem found in ‘layout_summary.Rd’ Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.7.5
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: body_add_par > ### Title: Add paragraphs of text in a 'Word' document > ### Aliases: body_add_par > > ### ** Examples > > doc <- read_docx() Error in zip::unzip(zipfile = file, exdir = folder) : zip error: Cannot extract file `word/settings.xml` in file zip.c:253 Calls: read_docx -> unpack_folder -> <Anonymous> Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.7.5
Check: tests
Result: ERROR Running ‘testthat.R’ [19s/24s] 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-images-86.R Saving _problems/test-images-125.R Saving _problems/test-images-266.R Saving _problems/test-images-295.R Saving _problems/test-images-317.R *** caught segfault *** address 0x1e0, cause 'memory not mapped' Traceback: 1: zip::unzip(zipfile = file, exdir = folder) 2: unpack_folder(file = path, folder = package_dir) 3: read_docx() 4: eval(code, test_env) 5: eval(code, test_env) 6: withCallingHandlers({ eval(code, test_env) new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) { skip("On CRAN") } else if (!new_expectations && skip_on_empty) { skip_empty() }}, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) { skip(paste0("{", e$package, "} is not installed.")) }}, snapshot_on_cran = function(cnd) { snapshot_skipped <<- TRUE invokeRestart("muffle_cran_snapshot")}, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error, interrupt = handle_interrupt) 7: doTryCatch(return(expr), name, parentenv, handler) 8: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9: tryCatchList(expr, classes, parentenv, handlers) 10: tryCatch(withCallingHandlers({ eval(code, test_env) new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) { skip("On CRAN") } else if (!new_expectations && skip_on_empty) { skip_empty() }}, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) { skip(paste0("{", e$package, "} is not installed.")) }}, snapshot_on_cran = function(cnd) { snapshot_skipped <<- TRUE invokeRestart("muffle_cran_snapshot")}, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error, interrupt = handle_interrupt), error = handle_fatal) 11: doWithOneRestart(return(expr), restart) 12: withOneRestart(expr, restarts[[1L]]) 13: withRestarts(tryCatch(withCallingHandlers({ eval(code, test_env) new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) { skip("On CRAN") } else if (!new_expectations && skip_on_empty) { skip_empty() }}, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) { skip(paste0("{", e$package, "} is not installed.")) }}, snapshot_on_cran = function(cnd) { snapshot_skipped <<- TRUE invokeRestart("muffle_cran_snapshot")}, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error, interrupt = handle_interrupt), error = handle_fatal), end_test = function() { }) 14: test_code(code, parent.frame()) 15: test_that("add floating image with custom distances", { float_img <- floating_external_img(img.file, width = 1, height = 1, wrap_dist_top = 0.1, wrap_dist_bottom = 0.2, wrap_dist_left = 0.3, wrap_dist_right = 0.4) x <- read_docx() x <- body_add_fpar(x, fpar(float_img)) filename <- print(x, target = tempfile(fileext = ".docx")) x <- read_docx(path = filename) body <- docx_body_xml(x) node_anchor <- xml_find_first(body, "//wp:anchor") expect_equal(xml_attr(node_anchor, "distT"), "91440") expect_equal(xml_attr(node_anchor, "distB"), "182880") expect_equal(xml_attr(node_anchor, "distL"), "274320") expect_equal(xml_attr(node_anchor, "distR"), "365760")}) 16: eval(code, test_env) 17: eval(code, test_env) 18: withCallingHandlers({ eval(code, test_env) new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) { skip("On CRAN") } else if (!new_expectations && skip_on_empty) { skip_empty() }}, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) { skip(paste0("{", e$package, "} is not installed.")) }}, snapshot_on_cran = function(cnd) { snapshot_skipped <<- TRUE invokeRestart("muffle_cran_snapshot")}, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error, interrupt = handle_interrupt) 19: doTryCatch(return(expr), name, parentenv, handler) 20: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 21: tryCatchList(expr, classes, parentenv, handlers) 22: tryCatch(withCallingHandlers({ eval(code, test_env) new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) { skip("On CRAN") } else if (!new_expectations && skip_on_empty) { skip_empty() }}, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) { skip(paste0("{", e$package, "} is not installed.")) }}, snapshot_on_cran = function(cnd) { snapshot_skipped <<- TRUE invokeRestart("muffle_cran_snapshot")}, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error, interrupt = handle_interrupt), error = handle_fatal) 23: doWithOneRestart(return(expr), restart) 24: withOneRestart(expr, restarts[[1L]]) 25: withRestarts(tryCatch(withCallingHandlers({ eval(code, test_env) new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) { skip("On CRAN") } else if (!new_expectations && skip_on_empty) { skip_empty() }}, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) { skip(paste0("{", e$package, "} is not installed.")) }}, snapshot_on_cran = function(cnd) { snapshot_skipped <<- TRUE invokeRestart("muffle_cran_snapshot")}, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error, interrupt = handle_interrupt), error = handle_fatal), end_test = function() { }) 26: test_code(code = exprs, env = env, reporter = get_reporter() %||% StopReporter$new()) 27: source_file(path, env = env(env), desc = desc, shuffle = shuffle, error_call = error_call) 28: FUN(X[[i]], ...) 29: lapply(test_paths, test_one_file, env = env, desc = desc, shuffle = shuffle, error_call = error_call) 30: doTryCatch(return(expr), name, parentenv, handler) 31: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 32: tryCatchList(expr, classes, parentenv, handlers) 33: tryCatch(code, testthat_abort_reporter = function(cnd) { cat(conditionMessage(cnd), "\n") NULL}) 34: with_reporter(reporters$multi, lapply(test_paths, test_one_file, env = env, desc = desc, shuffle = shuffle, error_call = error_call)) 35: test_files_serial(test_dir = test_dir, test_package = test_package, test_paths = test_paths, load_helpers = load_helpers, reporter = reporter, env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, desc = desc, load_package = load_package, shuffle = shuffle, error_call = error_call) 36: test_files(test_dir = path, test_paths = test_paths, test_package = package, reporter = reporter, load_helpers = load_helpers, env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, load_package = load_package, parallel = parallel, shuffle = shuffle) 37: test_dir("testthat", package = package, reporter = reporter, ..., load_package = "installed") 38: test_check("officer") An irrecoverable exception occurred. R is aborting now ... Segmentation fault Flavor: r-devel-linux-x86_64-debian-gcc