This presentation contains tips on how to develop R packages without violating the DRY (Don't Repeat Yourself) Principle in
- documentation
- unit testing
- vignette setup
- data
- conditions
Link to slides: https://www.indrapatil.com/dry-r-package-development/
This project uses R 4.6.0 or later (declared in DESCRIPTION), Quarto for rendering slides, and just as a command runner.
# Install just (macOS)
brew install justjust installjust help # Show all available commands
just install # Install R dependencies from DESCRIPTION
just render # Render slides to HTML
just preview # Start a live preview with auto-reload
just open # Alias for preview (live-reload dev server over localhost)
just clean # Remove generated files and caches
just check # Check the Quarto and R version setup
just # Install dependencies and start live-reload previewFeedback and suggestions are welcome in the issue tracker.
