reset_episodes: Clear the schedule in the lesson

View source: R/reset_episodes.R

reset_episodesR Documentation

Clear the schedule in the lesson

Description

Clear the schedule in the lesson

Usage

reset_episodes(path = ".")

Arguments

path

path to the lesson

Value

NULL, invisibly

Examples

tmp <- tempfile()
create_lesson(tmp, open = FALSE, rmd = FALSE)
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 April 15, 2024, 5:32 p.m.