generate_document: Render an rmarkdown doc (.Rmd)

View source: R/generate-document.R

generate_documentR Documentation

Render an rmarkdown doc (.Rmd)

Description

FIXME: currently type must be html... :/

Usage

generate_document(template, rel_output_path, ..., type = "html")

Arguments

...

parameters to pass to the markdown document

type

file extension on the output (.html)

path

(relative to project root) to the .Rmd file

Details

Convention is that project contains the doc itself, garbage ends up in build_dir and output ends up in artifact dir.

Value

path to output document


sakrejda/workflow documentation built on Nov. 18, 2024, 3:02 a.m.