knitr_include_graphics_pdf: Add statement to include graphic via...

Description Usage Arguments Details Value

Description

Statement of knitr::include_graphics with correct graphic name is added on a new line inside the Rmarkdown (rmd) source document text given in the parameter pvRmdSrc. The parameter psGrFmt can be used to specify different formats of the graphics file to be included. The string in psChunkLabel is treated as additional chunk labels which are inserted in the chunk that includes the graphics file.

Usage

1
knitr_include_graphics_pdf(psGraphicName, pvRmdSrc, psGrFmt, psChunkLabel)

Arguments

psGraphicName

name of the graphic file to be included

pvRmdSrc

vector with Rmd-source text

psGrFmt

graphics format

psChunkLabel

string of chunk labels to be added

Details

The use of this function is deprecated. Use the newer functionality around the function rmddochelper::use_odg_graphic()

Value

vector with extended Rmarkdown sources


charlotte-ngs/rmddochelper documentation built on June 27, 2019, 1:22 a.m.