| mkdCodeChunkSt,easyreporting-method {easyreporting} | R Documentation |
it creates a code chunk start. A list of options and files to source for the chunk can optionally be passed to the function.
## S4 method for signature 'easyreporting' mkdCodeChunkSt( object, optionList = getOptionsList(object), sourceFilesList = NULL, isComplete = FALSE )
object |
an easyreporting class object |
optionList |
a list of options |
sourceFilesList |
a list of files that can be sourced inside the code chunk. |
isComplete |
a flag determining if the chunk is already a complete chunk |
none
rd <- easyreporting(filenamePath="./project_report",
title="example_report", author=c("It's me"))
## no options
mkdCodeChunkSt(rd)
## just leaving empty
mkdCodeChunkEnd(rd)
## setting options
optList <- makeOptionsList(includeFlag=TRUE)
mkdCodeChunkSt(rd, optionList=optList)
## just leaving empty
mkdCodeChunkEnd(rd)