Reproducible R Workflow Demo
Description
v1.0.0 — Initial release
This is the first public release of Reproducible R Workflow Demo, a worked example and teaching resource for building reproducible R analysis workflows.
What's included
Analysis pipeline
A complete targets pipeline using the Palmer penguins dataset, covering data loading, cleaning, summary statistics, visualization, and a simple linear regression. All outputs are produced by targets::tar_make() and consumed by a rendered Quarto report.
Environment management
A committed renv.lock file so learners can reproduce the exact package environment with a single call to renv::restore().
Continuous integration
Two GitHub Actions workflows:
run-targets.yaml— restores therenvenvironment and runs the full pipeline on every push and pull request tomainpublish-slides.yaml— renders the Revealjs slide deck and deploys it to GitHub Pages wheneverslides/changes
Teaching materials
- A Revealjs slide deck introducing
targets,renv, and GitHub Actions, published to GitHub Pages - A suggested live demo script (
notes/demo-script.md) - A YAML primer for newcomers (
notes/yaml-primer.md) - Inline comments in all workflow files explaining each step
Getting started
renv::restore() # restore package environment
targets::tar_make() # run the pipeline
targets::tar_visnetwork() # inspect the dependency graph
See the README for full setup instructions.
Notes
Files
lucy-dwr/reproducible-r-workflow-demo-v1.0.0.zip
Additional details
Related works
- Is supplement to
- Software: https://github.com/lucy-dwr/reproducible-r-workflow-demo/tree/v1.0.0 (URL)
Software
- Repository URL
- https://github.com/lucy-dwr/reproducible-r-workflow-demo