rmd_create_doc: Render Rmarkdown file and potentially copy the output to a...

Description Usage Arguments

View source: R/rmd-create-doc.R

Description

Render Rmarkdown file and potentially copy the output to a new location

Usage

1
2
3
4
rmd_create_doc(run.dir, rmd.file, params, final.dir = NA,
  final.title = NA, copy_rmd = FALSE, nocopy = TRUE, nobib = TRUE,
  doctype = "html", bibtex.dir, bibtex.file, csl.file, code.dir,
  header.file)

Arguments

run.dir

the location of the rmd file to render

rmd.file

the name of the rmd file to render

params

the list of parameters to pass into the rmd file

final.dir

the destination location for the rendered file

final.title

the destination title for the rendered file

copy_rmd

boolean: TRUE if you want to copy the rmd code file to the output location

nocopy

boolean: TRUE if you do NOT want to copy the rendered file to a new location

nobib

boolean: TRUE if you do NOT want to copy the bibtext bibliography into the run.dir (i.e. if you don't have citations in this document)

doctype

the output file format (string): pdf, html, or docx

bibtex.dir

the location of the bibtex file for the citations

bibtex.file

the name of the bibtext file

csl.file

the name of the csl file giving the citation formal


kholsteen/geneRal documentation built on Jan. 20, 2020, 7:51 p.m.