Skip to contents

Name all Rmd chunks in the Rmd folders

Usage

kjh_name_all_chunks(indir = "slides")

Arguments

indir

The input directory, default "slides"

Value

All the Rmd files with their chunks renamed

Details

Recurses 1 level (i.e. subdirs) by default. Right now this will break any references made with chunk_reveal!

Examples

if (FALSE) { # \dontrun{
if(interactive()){
 #EXAMPLE1
 }
} # }