Skip to content

Extension chain#338

Merged
gustavdelius merged 34 commits into
masterfrom
extension-chain
May 8, 2026
Merged

Extension chain#338
gustavdelius merged 34 commits into
masterfrom
extension-chain

Conversation

@gustavdelius
Copy link
Copy Markdown
Member

Merging the new composable extension mechanism.

gustavdelius and others added 30 commits May 4, 2026 18:26
`rates_funcs`-style single-function overrides to a composable extension chain.
- Updated multiple test files to change the `t_max` parameter from 10 to 2 in various `project` function calls, optimizing test execution time.
- Adjusted expected dimensions in tests to align with the new simulation time.
- Ensured that all relevant assertions and checks are consistent with the reduced time frame.
- Deleted SVG snapshots for `plotFMort truncated` and `plotPredation mortality`.
- Updated `steady.md` snapshots to reflect new steady state values.
- Introduced `expect_ggplot` function to validate ggplot objects in plot tests.
- Modified plot tests to use `expect_ggplot` instead of `expect_doppelganger`.
- Adjusted time parameters in project tests to ensure consistency and accuracy.
- Refined `setBevertonHolt` tests to compare against required RDD values.
- Enhanced `steady` tests to utilize a simplified parameter setup for clarity.
- Removed unnecessary simulation calls in wrapper function tests.
- Added `@family extensions` tag to relevant functions in `registerExtensions.R` to group extension-related functions.
- Updated documentation for `NOther`, `coerceToExtensionClass`, `getRegisteredExtensions`, `registerExtension`, `registerExtensions`, `resetMizerSession`, `setComponent`, and `setRateFunction` to include references to other extension functions and concepts.
- Removed unused `finalNOther` documentation file and `getComponent` documentation file.
- Improved the `ensureExtensionNamespaces` documentation to clarify package installation behavior.
- Created a new vignette on creating mizer extension packages, detailing both metadata-only and dispatching extensions, including examples and best practices.
- Updated existing vignette on extensions to streamline content and link to the new extension packages vignette.
@gustavdelius gustavdelius merged commit 7f3dda8 into master May 8, 2026
1 check failed
@gustavdelius gustavdelius deleted the extension-chain branch May 8, 2026 17:18
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.

1 participant