Skip to content

Conversation

@pditommaso
Copy link
Collaborator

Summary

  • Add comprehensive CRAN package support for Wave container builds
  • Implement unified package specification handling for both Conda and CRAN packages
  • Add proper configuration options for R package management

Changes

  • Add CranOpts configuration: New configuration class for R package management with support for custom repositories, base packages, and R images
  • Implement parsePackagesSpec utility: Unified parser to handle different package specification formats (Conda, CRAN, mixed)
  • Update ContainerRequest model: Enhanced to include CRAN packages support alongside existing Conda functionality
  • Comprehensive test coverage: Added extensive tests for CRAN package parsing, validation, and edge cases
  • TypeSpec model updates: Remove deprecated CondaPackages in favor of unified PackagesSpec approach

Test plan

  • Unit tests pass for package parsing logic
  • Integration tests validate CRAN package handling
  • Edge cases covered (empty packages, mixed formats, invalid inputs)
  • TypeSpec models generate correctly
  • Manual testing with real CRAN packages (e.g., jsonlite, magrittr)
  • Container build testing with R environments

🤖 Generated with Claude Code

- Add CranOpts configuration for R package management
- Add parsePackagesSpec utility to handle different package formats
- Update ContainerRequest to include CRAN packages support
- Add comprehensive tests for CRAN package parsing and validation
- Remove deprecated CondaPackages type in favor of unified PackagesSpec

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants