Create a demo bookdown project

create_book(to = getwd(), template = "demo", if_render = TRUE, package = "bookdownplus",
    bdp_output = NULL)

Arguments

to

the desnitation directory.

template

the name of the r markdown template. It is the folder name in 'package/rmarkdown/templates/'.

if_render

whether render it.

package

the package name where the template comes from.

bdp_output

the type of bookdownplus output. Only valid when package = 'bookdownplus'.

Value

copied file.

Examples

create_book(tempdir(), if_render = FALSE)