This file provides guidance to Claude Code (claude.ai/code) when working with this repository.
Repository Overview
[Brief description of what this project does, its purpose, and key goals]
Key Dependencies
Package
Location/Version
Purpose
BATON
~/Downloads/BATON
Bayesian optimization for adaptive trials
evolveTrial
~/Downloads/evolveTrial
Adaptive trial simulations
tidyverse
CRAN ≥2.0
Data manipulation
Quarto
System ≥1.4
Document rendering
# Install local packagesdevtools::install("~/Downloads/BATON")devtools::install("~/Downloads/evolveTrial")
Common Commands
Build/Render
make pdf # Render to PDFmake html # Render to HTMLmake quick # Quick build with caching
Testing
make test # Run all validation testsRscript tests/run_tests.R # R tests only
Simulations
# Run production scenariosRscript scripts/run_scenarios.R scenarios/production.csv# Dry run to validateRscript scripts/run_scenarios.R scenarios/production.csv --dry-run