CMD_Render: Create CMD instruction for rendering a markdown file

Description Usage Arguments Value See Also

View source: R/Class-Cmd.R

Description

Schema: R [–options] -e \"rmarkdown::render(input = [path], output_format = [output_format]\""

Usage

1
2
3
4
5
6
7
8
CMD_Render(
  path,
  options = character(0),
  output_format = rmarkdown::html_document(),
  output_dir = NULL,
  output_file = NULL,
  vanilla = TRUE
)

Arguments

path

The name of the R markdown file that should run on startup, or a path relative to the working directory

options

(optional) Options or flags to be passed to Rscript

output_format

The output format as in rmarkdown::render(...)

output_dir

The output dir as in rmarkdown::render(...)

output_file

The output file name as in rmarkdown::render(...)

vanilla

Whether R should startup in vanilla mode. Default: TRUE

Value

A CMD instruction

See Also

render


o2r-project/containerit documentation built on June 28, 2021, 2:46 p.m.