moveRmdOutput: moveRmdOutput

Description Usage Arguments Details Value Examples

View source: R/moveRmdOutput.R

Description

Automatically moves all .html, .pdf or .docx files from one folder to another. Designed for Rmarkdown knitted documents that are regularly rendered in the same folder as the .Rmd document

Usage

1
moveRmdOutput(Rmd_path, Output_path)

Arguments

Rmd_path

path to Rmarkdown documents

Output_path

path to where the output (knitted) documents are going to be stored

Details

If arguments are missing, Rmd_path defaults to Rmarkdown/Rmd_files and Output_path defaults to Rmarkdown/Output_files

Value

moves all of the files with the following extensions from Rmd_path to the Output_path: .html, .docx, .pdf

Examples

1
## Not run: moveRmdOutput('Rmd_files', 'Output_files')

padpadpadpad/MicrobioUoE documentation built on April 6, 2020, 6:28 p.m.