multiKnit: Convert Multiple R Markdown Files to Ordinary Markdown

View source: R/multiKnit.R

multiKnitR Documentation

Convert Multiple R Markdown Files to Ordinary Markdown

Description

This function is a convenient wrapper around knitr::knit() as it automatically converts multiple R Markdown files (.Rmd) located in a specified folder (and, optionally, matching a particular pattern) to standard Markdown (.md).

Usage

multiKnit(path_in = ".", path_out = path_in, pattern = "*.Rmd$", ...)

Arguments

path_in

Input file path as character, defaults to the current working directory.

path_out

Output file path as character, defaults to 'path_in'.

pattern

Passed to list.files(), defaults to "*.Rmd$".

...

Additional arguments passed to knitr::knit().

Value

Output filenames as character.

Author(s)

Florian Detsch


Orcs documentation built on Jan. 6, 2023, 5:14 p.m.