Calls rmarkdown::render() to produce the output of a given rmd file

render_doc(file, rmd_dir = "rmd", output_dir = "docs", ...)

Arguments

file

A character vector specifying the file name

rmd_dir

The directory where the file lives, specified as a character vector

output_dir

The output directory, where the knitted versions will be placed

...

Other arguments passed to rmarkdown::render

Examples

#I have a file called \code{"manuscript.rmd"} that lives in my \code{"repo/rmd/"} directory. if (FALSE) { render_doc(file = "manuscript.rmd") }