bookdownplus: Create demo files for building books with R bookdown package.

Description Usage Arguments Value Examples

View source: R/fun.R

Description

Technically, bookdownplus is a collection and selector of R bookdown templates. bookdownplus helps you write academic journal articles, guitar books, chemical equations, mails, calendars, and diaries. R bookdownplus extends the features of bookdown, and simplifies the procedure. Users only have to choose a template, clarify the book title and author name, and then focus on writing the text. No need to struggle in YAML and LaTeX.

Usage

1
2
bookdownplus(template = "copernicus", more_output = NULL, title = "title", 
    author = "author", render = FALSE, rproj = TRUE, output_name = NA)

Arguments

template

character. Choose a template for your book or doc. The default template is 'thesis_classic'. Run template() to see the available templates.

more_output

optional output formats besides pdf_book, which can be (run get_output() for hints):

  • NULL (default)

  • 'word_document2'

  • 'html_document2'

  • 'epub_book'

  • 'gitbook'

title

character. book title.

author

character. book author.

render

logical. whether to render automatically

rproj

logical. whether to created an .Rproj file automatically

output_name

chracter. the name of the output files. If NA (default), the template name will be used.

Value

demo files to build with bookdown

Examples

1
2
bookdownplus(render = FALSE)
bookdownplus(template = "article", render = FALSE)

pzhaonet/bookdownplus documentation built on Oct. 16, 2018, 5:16 p.m.