build_dir: Build all Rmd files under a directory

Description Usage Arguments

View source: R/utils.R

Description

List all Rmd files recursively under a directory, and compile them using rmarkdown::render().

Usage

1
build_dir(dir = ".", force = FALSE, ignore = "[.]Rproj$")

Arguments

dir

A directory path.

force

Whether to force building all Rmd files. By default, an Rmd file is built only if it is newer than its output file(s).

ignore

A regular expression to match output filenames that should be ignored when testing if the modification time of the Rmd source file is newer than its output files.


blogdown documentation built on Sept. 5, 2021, 5:42 p.m.

Related to build_dir in blogdown...