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:
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
Last updated from:68f4f41cda. Checks:7 ERROR, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | ERROR | 122 | ||
| source / vignettes | OK | 144 | ||
| linux-release-x86_64 | ERROR | 118 | ||
| macos-release-arm64 | ERROR | 77 | ||
| macos-oldrel-arm64 | ERROR | 98 | ||
| windows-devel | ERROR | 68 | ||
| windows-release | ERROR | 68 | ||
| windows-oldrel | ERROR | 92 | ||
| wasm-release | OK | 108 |
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 page | Topics |
|---|---|
| Benchmark chunks | benchmark benchmarks format_benchmark hook_benchmark |
| Comment out codes based on their languages. | comment_out |
| Comment syntax. | comment_syntax |
| Comment title to chunk code | comment_title |
| Change the unit of figure size | hook_figure_unit |
| Number lines on code blocks | hook_numberLines |
| Prepend title comment to chunks | hook_title_comment |
