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.5)chunkhooks_0.0.1.zip(r-4.4)chunkhooks_0.0.1.zip(r-4.3)
chunkhooks_0.0.1.tgz(r-4.5-any)chunkhooks_0.0.1.tgz(r-4.4-any)chunkhooks_0.0.1.tgz(r-4.3-any)
chunkhooks_0.0.1.tar.gz(r-4.5-noble)chunkhooks_0.0.1.tar.gz(r-4.4-noble)
chunkhooks_0.0.1.tgz(r-4.4-emscripten)chunkhooks_0.0.1.tgz(r-4.3-emscripten)
chunkhooks.pdf |chunkhooks.html
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 site:https://chunkhooks.atusy.net

On CRAN:

5.30 score 4 stars 1 packages 11 scripts 248 downloads 9 exports 7 dependencies

Last updated 3 years agofrom:68f4f41cda. Checks:1 OK, 7 ERROR. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 08 2025
R-4.5-winERRORFeb 10 2025
R-4.5-macERRORFeb 10 2025
R-4.5-linuxERRORFeb 10 2025
R-4.4-winERRORFeb 10 2025
R-4.4-macERRORFeb 10 2025
R-4.3-winERRORFeb 10 2025
R-4.3-macERRORFeb 10 2025

Exports:benchmarkscomment_outcomment_syntaxcomment_titleformat_benchmarkhook_benchmarkhook_figure_unithook_numberLineshook_title_comment

Dependencies:evaluatehighrknitrmeasurementsprettyunitsxfunyaml

Benchmark chunks

Rendered frombenchmark.Rmdusingknitr::rmarkdownon Feb 08 2025.

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

Change the unit of figure size

Rendered fromfigure-unit.Rmdusingknitr::rmarkdownon Feb 08 2025.

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

Number lines on code blocks

Rendered fromnumberLines.Rmdusingknitr::rmarkdownon Feb 08 2025.

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