write_to_disk: Write to disk

Description Usage Arguments Value Examples

View source: R/write_to_disk.R

Description

Write an object to disk and render with rmarkdown::render.

Usage

1
write_to_disk(object, file.name = NULL, keep.temp = FALSE)

Arguments

object

Character. No default.

file.name

Character or NULL. The name of the rendered file. If NULL the name will be created based on the object argument. Defaults to NULL.

keep.temp

Logical. If TRUE the temporary file used to render the final document is kept. This is useful for debugging. Defaults to FALSE.

Value

Returns object invisibly.

Examples

1
2
front.matter <- create_front_matter()
write_to_disk(front.matter)

martingerdin/reporter documentation built on Aug. 28, 2020, 12:05 a.m.