officedown
0.4.3Enhanced 'R Markdown' Format for 'Word' and 'PowerPoint'
Overview
Allows production of 'Microsoft' corporate documents from 'R Markdown' by reusing formatting defined in 'Microsoft Word' documents. You can reuse table styles, list styles but also add column sections, landscape oriented pages. Table and image captions as well as cross-references are transformed into 'Microsoft Word' fields, allowing documents edition and merging without issue with references; the syntax conforms to the 'bookdown' cross-reference definition. Objects generated by the 'officer' package are also supported in the 'knitr' chunks. 'Microsoft PowerPoint' presentations also benefit from this as well as the ability to produce editable vector graphics in 'PowerPoint' and also to define placeholder where content is to be added.
Issues
hook_plot_officedown.Rdhas no usage, and a fix was needed to avoid a NOTE
(seen in CRAN Debian check).
From NEWS.md in the release
Install
Health
ERRORtestsr-devel-linux-x86_64-debian-clang, r-patched-linux-x86_64, r-release-linux-x86_64
r-devel-linux-x86_64-debian-clang, r-patched-linux-x86_64
Running ‘testthat.R’ [10s/14s]
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")
Saving _problems/test-rdocx-lists-21.R
Saving _problems/test-rdocx-lists-22.R
Saving _problems/test-rdocx-lists-23.R
Saving _problems/test-rdocx-lists-24.R
Saving _problems/test-rdocx-lists-25.R
Saving _problems/test-rdocx-lists-26.R
Saving _problems/test-rdocx-lists-41.R
Saving _problems/test-rdocx-lists-50.R
[ FAIL 8 | WARN 0 | SKIP 3 | PASS 14 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'tes
...[truncated]...
─────────────────────────
Expected `xml_attr(li4, "val")` to equal "2".
Differences:
`actual`: NA
`expected`: "2"
── Failure ('test-rdocx-lists.R:25:3'): reading lists ──────────────────────────
Expected `xml_attr(li5, "val")` to equal "1".
Differences:
`actual`: NA
`expected`: "1"
── Failure ('test-rdocx-lists.R:26:3'): reading lists ──────────────────────────
Expected `xml_attr(li6, "val")` to equal "0".
Differences:
`actual`: NA
`expected`: "0"
── Failure ('test-rdocx-lists.R:41:3'): reading lists ──────────────────────────
Expected `xml_attr(stylelink, "val")` to equal "new-ul".
Differences:
`actual`: NA
`expected`: "new-ul"
── Failure ('test-rdocx-lists.R:50:3'): reading lists ──────────────────────────
Expected `xml_attr(stylelink, "val")` to equal "new-ol".
Differences:
`actual`: NA
`expected`: "new-ol"
[ FAIL 8 | WARN 0 | SKIP 3 | PASS 14 ]
Error:
! Test failures.
Execution haltedr-release-linux-x86_64
Running ‘testthat.R’ [9s/14s]
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")
Saving _problems/test-rdocx-lists-21.R
Saving _problems/test-rdocx-lists-22.R
Saving _problems/test-rdocx-lists-23.R
Saving _problems/test-rdocx-lists-24.R
Saving _problems/test-rdocx-lists-25.R
Saving _problems/test-rdocx-lists-26.R
Saving _problems/test-rdocx-lists-41.R
Saving _problems/test-rdocx-lists-50.R
[ FAIL 8 | WARN 0 | SKIP 3 | PASS 14 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test
...[truncated]...
─────────────────────────
Expected `xml_attr(li4, "val")` to equal "2".
Differences:
`actual`: NA
`expected`: "2"
── Failure ('test-rdocx-lists.R:25:3'): reading lists ──────────────────────────
Expected `xml_attr(li5, "val")` to equal "1".
Differences:
`actual`: NA
`expected`: "1"
── Failure ('test-rdocx-lists.R:26:3'): reading lists ──────────────────────────
Expected `xml_attr(li6, "val")` to equal "0".
Differences:
`actual`: NA
`expected`: "0"
── Failure ('test-rdocx-lists.R:41:3'): reading lists ──────────────────────────
Expected `xml_attr(stylelink, "val")` to equal "new-ul".
Differences:
`actual`: NA
`expected`: "new-ul"
── Failure ('test-rdocx-lists.R:50:3'): reading lists ──────────────────────────
Expected `xml_attr(stylelink, "val")` to equal "new-ol".
Differences:
`actual`: NA
`expected`: "new-ol"
[ FAIL 8 | WARN 0 | SKIP 3 | PASS 14 ]
Error:
! Test failures.
Execution halted- ERROR10 OK, 3 ERRORNow
- ERROR11 OK, 2 ERROR2026-10-01
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-07-22
- ERROR11 OK, 2 ERROR2026-07-11
Show 3 earlier changesHide 3 earlier changes
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 6
- Examples that run
- 100%4 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 94%
- Return-value docs
- 100%
- Help pages citing references
- 0%
- Using officedown HTML
Downloads
Repository
- PRs merged (all time)
- 62%
- Median days to close, 50 most recently updated closed issues
- 59
- Median days to close, 50 most recently updated closed PRs
- 7
Stars over time
Forks over time
Issues over time
PRs over time
9 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/davidgohel/officedown on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2025-05-20 · The repository has a site deploy workflow
pkgdown site last built 2025-05-20, before release 0.4.3 (2026-10-15)
Show all practicesHide 1 practice
Dependencies
Installing officedown adds 57 packages (36 with compiled code, 47 MB of source tarballs). Heaviest: stringi 11 MB, bslib 5.6 MB, fontLiberation 4.3 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.4.3Latest
- 0.4.12025-05-21 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.4.02025-03-18 · diff ↗
- 0.3.32024-07-16 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.3.12023-09-02 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.3.02023-01-06 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.2.42022-03-07 · diff ↗
- 0.2.32021-11-16 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.2.22021-04-05 · diff ↗
- 0.2.12021-02-01 · diff ↗
Package metadata
- First published
- 2020-06-03
- Total releases
- 12 / 6 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 681 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("officedown")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.