Skip to content

Update species_params<- to diff changes and protect them#457

Merged
gustavdelius merged 6 commits into
masterfrom
species-params-diff
Jul 17, 2026
Merged

Update species_params<- to diff changes and protect them#457
gustavdelius merged 6 commits into
masterfrom
species-params-diff

Conversation

@gustavdelius

Copy link
Copy Markdown
Member

Previously, modifying species parameters via species_params<- bypassed given_species_params. This pull request updates species_params<- to automatically detect changes and record them in given_species_params, protecting them from being overwritten by defaults and automatically triggering recalculations of dependent arrays. This restores expected behaviour and aligns it with given_species_params<- but with a silent footprint for scripting.

Also updates the vignettes, cheatsheets, and Roxygen docs to reflect these changes, explicitly differentiating the interactive utility of given_species_params<- from the silent diffing behaviour of species_params<-.

@gustavdelius
gustavdelius merged commit 2afd817 into master Jul 17, 2026
@gustavdelius
gustavdelius deleted the species-params-diff branch July 17, 2026 13:10
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