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:

9 exports 4 stars 1.26 score 7 dependencies 1 dependents 11 scripts 255 downloads

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

TargetResultDate
Doc / VignettesOKSep 11 2024
R-4.5-winWARNINGSep 11 2024
R-4.5-linuxWARNINGSep 11 2024
R-4.4-winWARNINGSep 11 2024
R-4.4-macWARNINGSep 11 2024
R-4.3-winWARNINGSep 11 2024
R-4.3-macWARNINGSep 11 2024

Exports:benchmarkscomment_outcomment_syntaxcomment_titleformat_benchmarkhook_benchmarkhook_figure_unithook_numberLineshook_title_comment

Dependencies:evaluatehighrknitrmeasurementsprettyunitsxfunyaml

Benchmark chunks

Rendered frombenchmark.Rmdusingknitr::rmarkdownon Sep 11 2024.

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

Change the unit of figure size

Rendered fromfigure-unit.Rmdusingknitr::rmarkdownon Sep 11 2024.

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

Number lines on code blocks

Rendered fromnumberLines.Rmdusingknitr::rmarkdownon Sep 11 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