Skip to content

RangeShifter 3.0 merge (develop into main)#90

Merged
JetteReeg merged 489 commits intomainfrom
develop
Mar 24, 2026
Merged

RangeShifter 3.0 merge (develop into main)#90
JetteReeg merged 489 commits intomainfrom
develop

Conversation

@JetteReeg
Copy link
Copy Markdown
Collaborator

The develop branch includes:

  • the new genetics module from RScore/new_genetics

  • spatial demography
    - the three demographic rates fecundity, development and survival can vary spatially for models using habitat suitability maps. This feature was first published in Malchow et al (2022), who developed it for the R-pkg and is now incorporated in the next release of 3.0

  • translocation feature:
    - introduces a new class for management features. So far it only holds translocation of individuals. Individuals with given characteristics in a given cell or patch are randomly selected and translocated/added to a different given cell or patch

Additional changes:

  • the R-pkg version now allows all spatial inputs to be parsed as R matrices. This function is specifically suited for bayesian calibration
  • for the batch interface, reproduction and transfer can run in parallel to speed up running time

As the changes are major and complex. The merge will be done locally and not via GitHub. This pull request is aimed for providing an overview of all changes.

After the merge, a new release should be made with version number 3.0.0 and the prepared release note.

TheoPannetier and others added 30 commits August 16, 2024 13:46
JetteReeg and others added 22 commits November 27, 2025 17:00
RangeShifter version in CMakeLists.txt to 3.0.0
Parameter Output File
…mog_merge' into develop see also PR #89 #89

This merge integrates the newest features for the RS 3.0 release:

- new genetics (currently without the recently commited bugfix for calculating Fst values, this still needs to be merged into develop!
- spatial demography: spatio-temporal varying scales to be applied to selected demographic rates (survival, development, fecundity); only applicable for stage structured models using habitat quality maps
- translocation: management option, which moves selectes individuals from a source to a destination location

- merge conflicts occurred in Community.cpp, Population.cpp, Population.h, SubCommunity.cpp and SubCommunity.h, they were solved by choosing the code from the origin/transloc_new_genetics_spatial_demog_merge branch.
- code compiled using cmake under Windows
…/RScore

- manually applying changes done by RoslynHenry in commits 242b90a26838915bb68b7399968ce57a11acbf96, 285ee1b867e6638e625ad7e7edbd44a8b91c72dd, 1b7da0fe59d4147e114b167227894ac3b7aef333
however, I am not sure whether unit tests will be successfull as changes in pairwise Fst were made
…/RScore

- manually applying changes done by RoslynHenry in commits 242b90a26838915bb68b7399968ce57a11acbf96, 285ee1b867e6638e625ad7e7edbd44a8b91c72dd, 1b7da0fe59d4147e114b167227894ac3b7aef333
however, I am not sure whether unit tests will be successfull as changes in pairwise Fst were made
solved conflicts; compiling successfull on Win11
now returning spatial rasters (for cell-based models) or a data.frame (for patch based models) for total abundances per cell or specific (user defined) stages
@TheoPannetier
Copy link
Copy Markdown
Member

Woohoo! Great to see the new release happening!
I have noticed a few tidy up steps that remain to be done, like updating the copyright notice in all source files and replacing mentions of RangeShifter v2 to v3 (e.g. in the README)
I'll have a look later if I can find some time to do this

@JetteReeg
Copy link
Copy Markdown
Collaborator Author

Ah right, I still need to check that everywhere. I will do that today. :)

JetteReeg and others added 4 commits March 20, 2026 08:40
- version number
- improved git subtree documentation
- removed Théo as maintainer in README.md
- improved structure in CONTRIBUTING.md
- deleted deprecated lines in Landscape.cpp
@JetteReeg JetteReeg merged commit 072d3af into main Mar 24, 2026
3 checks passed
@TheoPannetier
Copy link
Copy Markdown
Member

Hurray 🥳

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.

4 participants