Document Conversion to 'PDF', Thumbnails and Visual Testing
Overview
Provides the ability to generate images from documents of different types. Three main features are provided: generating document thumbnails, performing visual tests of documents, and updating fields and tables of contents of a 'Microsoft Word' or 'RTF' document. 'Microsoft Office' ('Word', 'PowerPoint', 'Excel') and/or 'LibreOffice' must be installed on the machine. If 'Microsoft Office' is available, it can produce PDF documents or images identical to the originals; otherwise 'LibreOffice' is used and the rendering may sometimes differ from the original documents.
Issues
- The visual tests (
expect_snapshot_doc()and the functions using it) now count different pixels by comparing the decoded bytes of the images. The 'AE' metric of 'ImageMagick' used in 0.4.1 does not count pixels with 'ImageMagick' 7, where it is weighted by the size of the differences: small differences, e.g. of antialiasing, were underestimated.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 15
- Examples that run
- 91%10 run in a plain check · 1 never run
- Exported functions with examples
- 73%
- Documented parameters
- 71%
- Return-value docs
- 93%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 50%
- Median days to close, 50 most recently updated closed issues
- 816
- Median days to close, 50 most recently updated closed PRs
- 112
Stars over time
Forks over time
Issues over time
PRs over time
Commits over time
6 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/ardata-fr/doconv on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Show all practicesHide 1 practice
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-10-15Commits: at least 13 crediting it in the message
- Claude CodePull requests: 1 from outside contributors, first on 2026-03-13, 1 from forks
- Claude Opus 5.513 commits · Oct 2026
Dependencies
Installing doconv adds 27 packages (20 with compiled code, 20 MB of source tarballs). Heaviest: magick 4.4 MB, fontLiberation 4.3 MB, fontquiver 2.1 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.4.2Latest
- RR 4.6.0 released · 2026-04-24
- 0.4.02026-02-14 · diff ↗ ·
added 4 exports
expect_snapshot_flextables, expect_snapshot_ggplots, run_in_shiny_app, skip_if_not_snapshot_png - 0.3.32025-08-18 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.3.22023-02-10 · diff ↗
- 0.3.12023-01-06 · diff ↗
- 0.3.0
- 0.2.0
- 0.1.42022-08-19 · diff ↗ ·
removed 3 exports
docx2pdf_available, docx2pdf_install, docx2pdf_uninstalladded 2 exports
docx_update, pptx2pdf - RR 4.2.0 released · 2022-04-22
- 0.1.32021-05-19 · diff ↗ ·
added 3 exports
init_working_directory, rm_working_directory, working_directory - RR 4.1.0 released · 2021-05-18
- unarchivedReturned to CRAN2021-05-12
Show 5 earlier eventsHide 5 earlier events
- 0.1.22021-05-12 · diff ↗
- archivedRemoved from CRAN2021-04-25policy violation Leaves a directory in '/tmp' if LibreOffice is available
- 0.1.1
- 0.1.02021-03-30
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2021-03-30
- Total releases
- 12 / 5 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.0.0
- Download size
- 473 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("doconv")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-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.