Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


rosr (version 0.0.10)

create_book: Create a demo bookdown project

Description

Create a demo bookdown project

Usage

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

Run this code
# NOT RUN {
create_book(tempdir(), if_render = FALSE)
# }

Run the code above in your browser using DataLab