| build_book | R Documentation |
Build book from vignettes
build_book(
path = "inst/report",
path.v = "vignettes",
output_format = c("bookdown::gitbook", "bookdown::pdf_document2"),
clean_before = TRUE,
clean_after = TRUE,
keep_rmd = "index\\.Rmd$|zzz-references\\.Rmd$",
clean = TRUE
)
path |
Path of the book |
path.v |
Path to vignettes folder to copy in the book folder |
output_format |
Output format of the book. "bookdown::gitbook", "bookdown::pdf_document2" |
clean_before |
Logical. Whether to remove all Rmd (except keep_rmd) before build |
clean_after |
Logical. Whether to remove all Rmd (except keep_rmd) after build |
keep_rmd |
Regex to list Rmd filenames to keep if clean_before or clean_after is TRUE. You'd better keep index.Rmd. |
clean |
Whether to delete the possible output files. If |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.