View source: R/reset_episodes.R
reset_episodes | R Documentation |
Clear the schedule in the lesson
reset_episodes(path = ".")
path |
path to the lesson |
NULL, invisibly
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.