Package: chunkhooks 0.0.1

chunkhooks: Chunk Hooks for 'R Markdown'

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.

Authors:Atsushi Yasumoto [aut, cph, cre]

chunkhooks_0.0.1.tar.gz
chunkhooks_0.0.1.zip(r-4.7)chunkhooks_0.0.1.zip(r-4.6)chunkhooks_0.0.1.zip(r-4.5)
chunkhooks_0.0.1.tgz(r-4.6-any)chunkhooks_0.0.1.tgz(r-4.5-any)
chunkhooks_0.0.1.tar.gz(r-4.7-any)chunkhooks_0.0.1.tar.gz(r-4.6-any)
chunkhooks_0.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
chunkhooks/json (API)
NEWS

# Install 'chunkhooks' in R:
install.packages('chunkhooks', repos = c('https://atusy.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/atusy/chunkhooks/issues

Pkgdown/docs site:https://chunkhooks.atusy.net

On CRAN:

Conda:

5.51 score 4 stars 1 packages 18 scripts 190 downloads 9 exports 7 dependencies

Last updated from:68f4f41cda. Checks:7 ERROR, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64ERROR122
source / vignettesOK144
linux-release-x86_64ERROR118
macos-release-arm64ERROR77
macos-oldrel-arm64ERROR98
windows-develERROR68
windows-releaseERROR68
windows-oldrelERROR92
wasm-releaseOK108

Exports:benchmarkscomment_outcomment_syntaxcomment_titleformat_benchmarkhook_benchmarkhook_figure_unithook_numberLineshook_title_comment

Dependencies:evaluatehighrknitrmeasurementsprettyunitsxfunyaml

Benchmark chunks

Rendered frombenchmark.Rmdusingknitr::rmarkdownon May 26 2026.

Last update: 2020-07-23
Started: 2020-07-23

Change the unit of figure size

Rendered fromfigure-unit.Rmdusingknitr::rmarkdownon May 26 2026.

Last update: 2020-07-23
Started: 2020-07-23

Number lines on code blocks

Rendered fromnumberLines.Rmdusingknitr::rmarkdownon May 26 2026.

Last update: 2020-07-23
Started: 2020-07-23

Readme and manuals

Help Manual

Help pageTopics
Benchmark chunksbenchmark benchmarks format_benchmark hook_benchmark
Comment out codes based on their languages.comment_out
Comment syntax.comment_syntax
Comment title to chunk codecomment_title
Change the unit of figure sizehook_figure_unit
Number lines on code blockshook_numberLines
Prepend title comment to chunkshook_title_comment