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.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'))

Peer review:

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

On CRAN:

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

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

TargetResultDate
Doc / VignettesOKNov 10 2024
R-4.5-winERRORNov 10 2024
R-4.5-linuxERRORNov 10 2024
R-4.4-winERRORNov 10 2024
R-4.4-macERRORNov 10 2024
R-4.3-winERRORNov 10 2024
R-4.3-macERRORNov 10 2024

Exports:benchmarkscomment_outcomment_syntaxcomment_titleformat_benchmarkhook_benchmarkhook_figure_unithook_numberLineshook_title_comment

Dependencies:evaluatehighrknitrmeasurementsprettyunitsxfunyaml

Benchmark chunks

Rendered frombenchmark.Rmdusingknitr::rmarkdownon Nov 10 2024.

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

Change the unit of figure size

Rendered fromfigure-unit.Rmdusingknitr::rmarkdownon Nov 10 2024.

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

Number lines on code blocks

Rendered fromnumberLines.Rmdusingknitr::rmarkdownon Nov 10 2024.

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