Extension chain#338
Merged
Merged
Conversation
`rates_funcs`-style single-function overrides to a composable extension chain.
…rojection rate hooks
- 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.
…source_dynamics`.
…g missing or outdated packages
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merging the new composable extension mechanism.