Read an Rmd rmarkdown file and apply enumerated code chunks

e_rmd_name_chunks(fn_in = NULL, fn_out = NULL, prefix_chunk_name = "chunk-")

Arguments

fn_in

Rmd filename in.

fn_out

Rmd filename out. If NULL, then this is assigned fn_in.

prefix_chunk_name

a string before each chunk number

Value

NULL, invisibly

Examples

if (FALSE) {
# e_rmd_name_chunks(fn_in = "test_in.Rmd", fn_out = "test_out.Rmd", prefix_chunk_name = "chunk-")
}