mkdCodeChunkComplete-easyreporting-method: mkdCodeChunkComplete

Description Usage Arguments Value Examples

Description

it creates a complete code chunk.

Usage

1
2
3
4
5
6
7
## S4 method for signature 'easyreporting'
mkdCodeChunkComplete(
  object,
  message,
  optionList = getOptionsList(object),
  sourceFilesList = NULL
)

Arguments

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.

Value

none

Examples

1
2
3
 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)")

easyreporting documentation built on Nov. 8, 2020, 8:01 p.m.