mkdCodeChunkComplete,easyreporting-method {easyreporting}R Documentation

mkdCodeChunkComplete

Description

it creates a complete code chunk.

Usage

## 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

 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)")

[Package easyreporting version 1.0.0 Index]