Skip to content

Conversation

ChrisRackauckas-Claude
Copy link

Summary

  • Moves Statistics.jl from a regular dependency to a weak dependency (extension)
  • Reduces the base dependency footprint while maintaining full functionality

Changes

  • Moved Statistics from [deps] to [weakdeps] in Project.toml
  • Created RecursiveArrayToolsStatisticsExt extension module
  • Moved Statistics-dependent functions (mean, median, std, var, cov, cor) to the extension
  • Added Statistics to test dependencies to ensure tests continue to work

Testing

  • Package compiles successfully
  • Statistics functions work when Statistics.jl is loaded
  • All existing functionality is preserved through the extension mechanism

This is part of a broader effort to reduce dependencies across the SciML stack by converting optional functionality to weak dependencies.

🤖 Generated with Claude Code

- Moved Statistics from deps to weakdeps in Project.toml
- Created RecursiveArrayToolsStatisticsExt extension module
- Moved Statistics-dependent functions to extension
- Added Statistics to test dependencies

This reduces the base dependency footprint while maintaining full functionality when Statistics is loaded.

🤖 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.

2 participants