Demo the current lesson in swirl

Description

Jump right in to the current swirl lesson without needing to navigate swirl's menus. It's also possible to jump into the middle of a lesson.

Usage

1
demo_lesson(from = NULL, to = NULL)

Arguments

from

Question number to begin with. Defaults to beginning of lesson.

to

Question number to end with. Defaults to end of lesson.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# Demo current lesson from beginning through the end
demo_lesson()
# Demo current lesson from question 5 through the end
demo_lesson(5)
# Demo current lesson from question 8 through question 14
demo_lesson(8, 14)

## End(Not run)