Skip to contents

Unname chunks except 'setup' and flipbookr chunks that have include=FALSE

Usage

kjh_unname_chunks(path, chunk_name_prefix = NULL)

Arguments

path

Path to Rmd file

chunk_name_prefix

Character string with prefix of chunknames that will be removed. Default: NULL (indicating all chunknames will be removed except the one named 'setup' and any chunks with the include = FALSE option, to protect flipbookr references.)

Value

Unnames chunks, except setup and include=FALSE chunks