mkdCodeChunkComplete,easyreporting-method {easyreporting} | R Documentation |
it creates a complete code chunk.
## S4 method for signature 'easyreporting' mkdCodeChunkComplete( object, message, optionList = getOptionsList(object), sourceFilesList = NULL )
object |
an easyreporting class object |
message |
a string containing a function call or the entire code chunk to trace. |
optionList |
a list of options. |
sourceFilesList |
a list of files to source. |
none
rd <- easyreporting(filenamePath="./project_report", title="example_report", author=c("It's me")) mkdCodeChunkComplete(rd, message="a <- 1\nb <- 2\nc <- a+b\n print(c)")