create_episode: Create an Episode from a template

Description Usage Arguments Examples

View source: R/create_episode.R

Description

Create an Episode from a template

Usage

1
create_episode(title, make_prefix = TRUE, add = FALSE, path = ".")

Arguments

title

the title of the episode

make_prefix

a logical. If TRUE, the prefix for the file will be automatically determined by the files already present. Otherwise, it assumes you have added the prefix.

add

if TRUE, the lesson is added to the schedule. Defaults to FALSE

path

the path to the sandpaper lesson.

Examples

1
2
3
tmp <- tempfile()
create_lesson(tmp)
create_episode("getting-started", path = tmp)

zkamvar/sandpaper documentation built on Nov. 25, 2021, 1:16 p.m.