# ferdo R Lab — Lesson 6 student capstone v1.0

This is independent teaching material, NOT an official UCL module.
All 12 records are synthetic. Base R only. Correlation/regression is optional.

1. Extract ZIP preserving data/, scripts/, templates/.
2. In RStudio, set the working directory to the extracted root.
3. Check: file.exists("data/class_synthetic.csv") should be TRUE.
4. Run: source("scripts/check_setup.R").
5. Run: source("scripts/warmup_demo.R").
6. Edit scripts/analysis_starter.R and fill TODO tasks independently.
7. Fix a COPY of scripts/debug_challenge.R, which is intentionally broken.
8. Fill templates/report_template.md and submission_checklist.md.

Testing is DEFERRED at the user's request.
When desired, run source("scripts/acceptance_test.R").
Expected messages after a successful REAL RStudio run:
  R LAB LESSON 6 SETUP CHECK PASS
  R LAB LESSON 6 ACCEPTANCE TEST PASS

The acceptance test parses the broken file but NEVER runs it.
It checks only packaging and a warmup, not student solutions.

12 student files: README.md, index.html, workbook.html, worksheet.md,
data/class_synthetic.csv, scripts/warmup_demo.R, scripts/analysis_starter.R,
scripts/debug_challenge.R, scripts/check_setup.R, scripts/acceptance_test.R,
templates/report_template.md, templates/submission_checklist.md.

Teacher solutions and grading rubric remain private in Divan.
