Key Points
Using RMarkdown
- Use
.mdfiles for episodes when you want static content - Use
.Rmdfiles for episodes when you need to generate output - Run
sandpaper::check_lesson()to identify any issues with your lesson - Run
sandpaper::build_lesson()to preview your lesson locally
Environments
- A project environment tracks the R and package versions used in a project.
-
renvcreates isolated, project‑specific libraries for reproducible workflows. - Reproducibility depends on stable, well‑defined environments.