Command Line Tools to Produce Accessible Documents using 'R Markdown'
Overview
Provides functions to produce accessible 'HTML' slides, 'HTML', 'Word' and 'PDF' documents from input 'R markdown' files. Accessible 'PDF' files are produced only on a 'Windows' Operating System. One aspect of accessibility is providing a headings structure that is recognised by a screen reader, providing a navigational tool for a blind or partially-sighted person. A key aim is to produce documents of different formats easily from each of a collection of 'R markdown' source files. Input 'R markdown' files are rendered using the render() function from the 'rmarkdown' package https://cran.r-project.org/package=rmarkdown. A 'zip' file containing multiple output files can be produced from one function call. A user-supplied template 'Word' document can be used to determine the formatting of an output 'Word' document. Accessible 'PDF' files are produced from 'Word' documents using 'OfficeToPDF' https://github.com/cognidox/OfficeToPDF. A convenience function, install_otp() is provided to install this software. The option to print 'HTML' output to (non-accessible) 'PDF' files is also available.
New features
- In
rmd2html()the new argumentbookdowncan be used to render usingbookdown::html_document2(), rather thanrmarkdown::html_document().
Bug fixes and minor improvements
- In
rmd2word()the call toaccessr::ext_img()has been removed. The release ofofficedown 0.4.3makes this unnecessary and problematic. See Issue #2. - In
rmd2html()the argument...in the call tormarkdown::render()has been removed to avoid errors when passing additional arguments tobookdown::html_document2()orrmarkdown::html_document().
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 8 (1 internal)includes a package overview page
- Examples that run
- 100%5 run in a plain check
- Exported functions with examples
- 83%
- Documented parameters
- 88%
- Return-value docs
- 100%
- Help pages citing references
- 25%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 2
- Median days to close, 50 most recently updated closed PRs
- not measured
Releases over time
Issues over time
Commits over time
8 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/paulnorthrop/accessr on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Show all practicesHide 1 practice
Dependencies
Code & Tests
People & History
Package metadata
- First published
- 2024-04-28
- Total releases
- 5 / 2 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.3.0
- Download size
- 504 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("accessr")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-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.