Skip to contents

Unname all Rmd chunks in the Rmd folders

Usage

kjh_unname_all_chunks(indir = "slides")

Arguments

indir

The input directory, default "slides"

Details

All the Rmd files with their chunk names removed, except chunks labeled 'setup' and chunks where include=FALSE, to protect chunk_reveal calls. Recurses 1 level (i.e. subdirs) by default.

Examples

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