Add a new chapter file to your course

add_chapter(chapter_name)

Arguments

chapter_name

- the new chapter name, such as "chapter2.md"

Value

the new chapter file with YAML, which is saved in `chapters/`. RStudio will open the file for editing.