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.


chunkhooks

CRAN status R build status

Introduce chunk hooks for better experience with R Markdown.

  • Benchmark chunks
  • Change the unit of figure sizes from "inch".
  • Automate line numbering on code blocks

and more!

Take a look at examples at https://chunkhooks.atusy.net/articles/

Installation

remotes::install_github("atusy/chunkhooks")

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("chunkhooks")

0.0.1 by Atsushi Yasumoto, 6 years ago


https://chunkhooks.atusy.net, https://github.com/atusy/chunkhooks


Browse source code at https://github.com/cran/chunkhooks


Authors: Atsushi Yasumoto [aut, cph, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports knitr, measurements, prettyunits

Suggests spelling, testthat, rmarkdown


See at CRAN