set_lesson {swirlify} | R Documentation |
Select an existing lesson to work on
Description
Choose a lesson to work on with swirlify by specifying the path to the
lesson.yaml
file or interactively choose a lesson file.
Usage
set_lesson(path_to_yaml = NULL, open_lesson = TRUE, silent = FALSE)
Arguments
path_to_yaml |
Optional, full path to YAML lesson file. If not specified, then you will be prompted to select file interactively. |
open_lesson |
Should the lesson be opened automatically?
Default is |
silent |
Should the lesson be set silently? Default is
|
Examples
## Not run:
# Set the lesson interactively
set_lesson()
# You can also specify the path to the \code{yaml} file you wish to work on.
set_lesson(file.path("~", "R_Programming", "Functions", "lesson.yaml"))
## End(Not run)
[Package swirlify version 0.5.3 Index]