reset_episodes: Clear the schedule in the lesson

Description Usage Arguments Value Examples

View source: R/reset_episodes.R

Description

Clear the schedule in the lesson

Usage

1
reset_episodes(path = ".")

Arguments

path

path to the lesson

Value

NULL, invisibly

Examples

1
2
3
4
5
6
7
tmp <- tempfile()
create_lesson(tmp)
get_episodes(tmp) # produces warning
set_episodes(tmp, get_episodes(tmp), write = TRUE)
get_episodes(tmp) # no warning
reset_episodes(tmp)
get_episodes(tmp) # produces warning again because there is no schedule

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