RmdUpdateOutputs: Updates R Markdown output files

Description Usage Arguments Author(s)

View source: R/RmdLastKnitted.R

Description

Checks the age of R Markdown files and their respective outputs, and will update any documents which are out of date. The function will use the 'output' options of the YAML frontmatter of the document.

Usage

1
2
RmdUpdateOutputs(directory = getwd(), recursive = TRUE,
  firstKnit = FALSE, minAge = 0, quiet = TRUE)

Arguments

directory

the directory to search for the files. Defaults to the working directory

recursive

should the search include subdirectories?

firstKnit

should the function compile files if they have not be knitted before? Default is FALSE

minAge

the minimum time difference between the updated R Markdown and the HTML.

quiet

should the R Markdown print pandoc messages

Author(s)

Michael Harper


dr-harper/HarpR documentation built on Nov. 8, 2019, 8:56 p.m.