Skip to content

chunkhooks

0.0.1Package record

Chunk Hooks for 'R Markdown'

0packages depend
2.9Kdownloads / year
27.4%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.0.1

New features

  • hook_benchmark to introduce benchmarks on chunks
  • hook_numberLines to number lines on code blocks generated by chunks
  • hook_figure_unit to change the unit of figure sizes from inches

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.2 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK12 OK2026-04-25
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.0.1
READMEYes · 62 wordsVignettesYes · 3 · dynamicNEWSYes · 67% structured · mentions 0.0.1Citation fileNoWebsiteYes
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

2.9K
CRAN downloads in the past year
Rank #15,116 · ~8/day · ~242/mo
Daily download trend is not available in this view yet.
25830 days
80890 days
2.9K1 year
Compare downloads with other packages →
Also on97 r2u2 autocran

Repository

5Stars
0Forks
1Open issues
0Open PRs
0Releases
39Commits
2Commit identities
39 commits · Last activity 2021-11-26 · 0% stars, 30d
Responsiveness
not measured

Stars over time

2023-05-12 · 42026-08-01 · 5
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (2)

Funding links: GitHub Sponsors

The repository owner accepts GitHub Sponsors

Docs source (1)
pkgdown
CRAN release process (1)
cran-comments.md
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing chunkhooks adds 7 packages (2 with compiled code, 964 KB of source tarballs). Heaviest: knitr 479 KB, xfun 224 KB, yaml 106 KB.

Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Copyright holder, Maintainer since 0.0.1 (2020)
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.0.1Latest
    2020-08-05 · current release
  • R
    R 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")
Yasumoto, A. (2020). chunkhooks: Chunk Hooks for 'R Markdown' (Version 0.0.1) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for chunkhooks version 0.0.1 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy