bookdown_cleanup: Clean up all files after a failed bookdown build

Description Usage Arguments

Description

Whenever an error occurs during a build of a bookdown document the cleanup procedure of RStudio does not delete all output files. Files starting with _main seam to survive the ordinary clean up process. This helper function removes those files.

Usage

1
bookdown_cleanup(pspath = ".", pspattern = "_main")

Arguments

pspath

directory where the bookdown files are built

pspattern

pattern matching the files to be deleted


charlotte-ngs/rmddochelper documentation built on June 27, 2019, 1:22 a.m.