datacamp (version 3.3.0)

author_course: Generate course and chapter template

Description

The author_course function will:

  1. create and open a `course.yml` file, with course information

  2. create and open a `chapter1.md` file, containing some exercise templates

Usage

author_course(lang)

Arguments

lang

The programming language of the exercises in the template

Examples

Run this code
# NOT RUN {
author_course(lang = "python")
author_course(lang = "r")
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace