datacamp (version 3.3.0)

author_chapter: Generate chapter file

Description

Generate a chapter file with 3 exercise templates so you can start right away.

Usage

author_chapter(lang, title = NULL, description = NULL, internal = FALSE)

Arguments

lang

Programming language of the chapter

title

Title of the the chapter (optional)

description

Description of the chapter (optional)

internal

Do not touch this parameter (for internal use)

Examples

Run this code
# NOT RUN {
author_chapter(lang = "python")
author_chapter(lang = "r")
author_chapter(lang = "r",
               title = "My Chapter",
               description = "This is my chapter!")
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace