powered by
Identifies and separates the code and text chunks (the latter includes non-R code) within an Rmd file, and returns these separately.
separate_chunks(lines)
a character vector of lines from an Rmd file