# NOT RUN {
add_exercise("chapter1.Rmd", lang = "r", type = "NormalExercise")
add_exercise("chapter1.Rmd", lang = "r", type = "MultipleChoiceExercise")
add_exercise("chapter1.Rmd", lang = "r", type = "VideoExercise")
add_exercise("chapter1.Rmd", lang = "r", type = "NormalExercise",
title = "My Normal Exercise", content = "This is a normal exercise.")
add_exercise("chapter1.Rmd", lang = "r", type = "MultipleChoiceExercise")
title = "My Multiple Choice Exercise", content = "This is an MCE.")
add_exercise("chapter1.Rmd", lang = "r", type = "VideoExercise",
title = "My Video", content = "This video discusses interesting things.")
add_exercise("chapter1.md", lang = "python", type = "NormalExercise")
add_exercise("chapter1.md", lang = "python", type = "MultipleChoiceExercise")
add_exercise("chapter1.md", lang = "python", type = "VideoExercise")
add_exercise("chapter1.md", lang = "python", type = "NormalExercise",
title = "My Normal Exercise", content = "This is a normal exercise.")
add_exercise("chapter1.md", lang = "python", type = "MultipleChoiceExercise")
title = "My Multiple Choice Exercise", content = "This is an MCE.")
add_exercise("chapter1.md", lang = "python", type = "VideoExercise",
title = "My Video", content = "This video discusses interesting things.")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab