Partial lessons mainly used for testing and demonstration purposes
Value
a path to a lesson fragment whose contents are:
lesson-fragment
contains one_episodes
directory with three files: "10-lunch.md", "14-looping-data-sets.md", and "17-scope.md"rmd-fragment
contains one episode under_episodes_rmd
called01-test.Rmd
.sandpaper-fragment
contains a trimmed-down Workbench lesson that has its R Markdown content pre-builtsandpaper-fragment-with-child
contains much of the same content assandpaper-fragment
, but theepisodes/index.Rmd
file references child documents.
Examples
lesson_fragment()
#> [1] "/home/runner/work/_temp/Library/pegboard/lesson-fragment"
lesson_fragment("rmd-lesson")
#> [1] "/home/runner/work/_temp/Library/pegboard/rmd-lesson"
lesson_fragment("sandpaper-fragment")
#> [1] "/home/runner/work/_temp/Library/pegboard/sandpaper-fragment"
lesson_fragment("sandpaper-fragment-with-child")
#> [1] "/home/runner/work/_temp/Library/pegboard/sandpaper-fragment-with-child"