R/transform-code.R
get_knitr_pattern.Rd
Determine a regex pattern for identifying R code chunks.
get_knitr_pattern(filetype)
A string indicating the filetype - either 'Rmd' or 'Rnw'.