Chunk Hooks for 'R Markdown'
Overview
Set chunk hooks for 'R Markdown' documents https://rmarkdown.rstudio.com/, and improve user experience. For example, change units of figure sizes, benchmark chunks, and number lines on code blocks.
New features
hook_benchmarkto introduce benchmarks on chunkshook_numberLinesto number lines on code blocks generated by chunkshook_figure_unitto change the unit of figure sizes from inches
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 3
- Examples that run
- 100%3 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
Stars over time
Issues over time
7 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/atusy/chunkhooks on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Funding links: GitHub Sponsors
The repository owner accepts GitHub Sponsors
Show all practicesHide 1 practice
Dependencies
Code & Tests
People & History
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.0.1Latest2020-08-05 · current release
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2020-08-05
- Total releases
- 1 / 6 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 15 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("chunkhooks")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-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.