Skip to contents

render_paper() is a wrapper around rmarkdown::render_site which renders the paper of this study.

Usage

render_paper(
  title = "Schobbenetal_SIMS_method",
  output_dir = fs::path_wd(),
  type_ms = "preprint",
  copy_figures = TRUE
)

edit_paper(type_ms = "preprint")

Arguments

title

Character string for title of rendered document.

output_dir

Character string for directory containing the rendered document.

type_ms

Character string for type manuscript, either "preprint" or "paper".

copy_figures

Logical wether to copy figures to directory (default = TRUE).

Value

Rendered documents including a tex, docx and pdf file. Depending on the argument copy_figures the call returns figures in png format within its own directory (figures).