View source: R/temp/extract_codeChunks.R View source: R/rmarkdown.R
get_listCodeChunksFromRmdlines | R Documentation |
Get a list of code chunks from Rmdlines
get_listCodeChunksFromRmdlines( Rmdlines, engine = "r", stackNAchunks = T, requireLabel = F, exclude = "(afterMake=T|drake=F|\\bsetup\\b)" )
Rmdlines |
A character string from readLines. |
engine |
A character specifies which language code chunk to target |
stackNAchunks |
A logical. default=T the unlabelled code chunks will be stack together |
requireLabel |
A logical. default=F extract unlabelled chunks as well |
exclude |
A character of regex setting labels pattern whose chunks will be ignored from extraction. |
None.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.