Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
279 commits
Select commit Hold shift + click to select a range
307cc3d
Merge commit 'ec26385e380cfa236aa0909c06e9f9c11f950cea' into develop
JetteReeg Jul 4, 2024
8a46ae5
Integrating recommited bugfix
JetteReeg Jul 4, 2024
d139204
Merge tag 'v1.1.1' into transloc_new_genetics_merge
JetteReeg Jul 16, 2024
5500744
Merge commit '136552514df2d3486c396a43d0df846e01566630' into transloc…
JetteReeg Jul 16, 2024
5d57298
set flag for RS_RCPP output
JetteReeg Jul 16, 2024
adc95d3
Merge commit '0343164051eebd2a4f74f2a2333a37b5fa564a76' into transloc…
JetteReeg Jul 16, 2024
f683bda
adapteed Cell.cpp according to new_genetics branch
JetteReeg Jul 16, 2024
16723ec
fix merge conflict
TheoPannetier Jul 17, 2024
56b7e23
fix develop build; rm remaining mentions of deleted GUI functions
TheoPannetier Jul 17, 2024
08edf86
small bugfix for users who still use raster package:
JetteReeg Aug 1, 2024
7deaa86
small bugfix for users who still use raster package:
JetteReeg Aug 1, 2024
65578f7
Merge commit 'c08db1fc8822ea52101514b53ab0969205b36def' into transloc…
JetteReeg Aug 1, 2024
66da485
Merge commit '0738d892130004dd6747c72d6c47a62de77d66d5' into transloc…
JetteReeg Sep 4, 2024
f663b8d
Merge commit 'b29bee6d73212ac30f3309dde592824f6792c317' into transloc…
JetteReeg Sep 4, 2024
b49c493
Merge commit '4ec1690a09bcbfdc740242a625b5eafe165151fd' into transloc…
JetteReeg Sep 4, 2024
0475d24
For RScore files: updated variable names, which changed in new_geneti…
JetteReeg Oct 8, 2024
60c8513
Merge commit 'cfd8f86bbdb1a0c86a04b9d6ddc30387b5efdb6b' into transloc…
JetteReeg Oct 8, 2024
619cc1d
Changed Genetic input acc. RS 3.0
JetteReeg Oct 22, 2024
4747eae
Genetic loads: updated documentation + parsing
JetteReeg Oct 24, 2024
8095bcc
Merge commit '750911188fd90222dc841153ed7048151d20d2f9' into transloc…
JetteReeg Oct 24, 2024
cd17197
Integrated Genetics 2.0 into the R package
JetteReeg Nov 14, 2024
31d26bb
Merge commit 'e31c278549f00299742876a0d13bf4f5baaf8d9f' into transloc…
JetteReeg Nov 14, 2024
5516c8c
Merge commit 'e5a314bdc3e6443e0b6b344709d13a4c721d93cc' into transloc…
JetteReeg Nov 14, 2024
40814e4
bugfix checking DispersalKernel settings:
JetteReeg Nov 14, 2024
9cd9054
added citations and replaced gNameCostfile with name_costfile
JetteReeg Nov 15, 2024
d99853a
Merge commit '6d08f6599a3a64fec8ceba50e98c7e2ff6254d50' into transloc…
JetteReeg Nov 15, 2024
a33ae8e
Updated citation bib and added references in function descriptions.
JetteReeg Nov 15, 2024
a2e2699
Removed unnecessary output for development
JetteReeg Nov 15, 2024
70e4141
switched to RScore branch transloc_new_genetics_spatial_demog_merge
JetteReeg Nov 19, 2024
ddc0067
Add 'RangeShiftR/src/RScore/' from commit '6d08f6599a3a64fec8ceba50e9…
JetteReeg Nov 19, 2024
139387b
initialise genetic load with non-zero sel + dom coeffs #75
TheoPannetier Nov 19, 2024
edf9cf8
oops bugs in #75
TheoPannetier Nov 20, 2024
e2834e7
update tests to non-zero initial dominance coeffs
TheoPannetier Nov 20, 2024
52becba
improve readability of readDynLand
TheoPannetier Jan 30, 2025
187d9bd
drop unused map and views features
TheoPannetier Feb 4, 2025
3c94049
integrated spatial_demography branch
JetteReeg Feb 12, 2025
a4876e0
Integrating spatial demography branch into R interface
JetteReeg Feb 12, 2025
9ecb715
Merge commit '3c94049eb346dc8a0006ec15a998915243d78bfb' into transloc…
JetteReeg Feb 12, 2025
2fffd28
Bugfixes for R input checks
JetteReeg Feb 12, 2025
2e451f9
Bugfixing:
JetteReeg Feb 19, 2025
320b09a
updated gitignore
JetteReeg Feb 19, 2025
f93b1b2
Merge remote-tracking branch 'origin/new_genetics' into transloc_new_…
JetteReeg Mar 18, 2025
b62d941
"Error" should be printed only once
TheoPannetier Mar 18, 2025
cbda46d
Merge commit 'e2834e771621f6fc86b3c9ceb22f150ad40e01aa' into new_gene…
TheoPannetier Mar 18, 2025
b45c3c7
Merge branch 'new_genetics' of https://github.com/RangeShifter/RScore…
TheoPannetier Mar 18, 2025
7386236
fix incorrect dominance distribution value in genetic load tests
TheoPannetier Mar 18, 2025
a83a011
merge with SMS_bugfix
TheoPannetier Mar 18, 2025
cc90e82
resolved conflicts after merging
JetteReeg Mar 19, 2025
738e5e2
Merge commit 'cc90e82b87db842c13c7df75718001b9106da6c0' into develop
JetteReeg Mar 19, 2025
4f8dc87
Merge branch 'new_genetics' into transloc_new_genetics_spatial_demog_…
JetteReeg Mar 19, 2025
ba6e145
Updating Rinterface.cpp to updated genetics
JetteReeg Mar 19, 2025
6a9570d
Merge commit '4f8dc87e403bac332f21c0bbec174ebe6acf5847' into transloc…
JetteReeg Mar 19, 2025
ff399f6
Rewrite the Population::clean() method to avoid unnecessary memory co…
nboullis Jan 30, 2025
c41a13e
Modify the Population::fledge() method to avoid unnecessary memory co…
nboullis Mar 10, 2025
dcd4615
Merge branch 'develop' into avoid_memory_copies
nboullis Mar 19, 2025
2d85f0b
Replace the std:queue memory used for SMS with an ad hoc implementati…
nboullis Mar 4, 2025
08299da
Prepare CMakeLists for (optional) compilation with OpenMP.
nboullis Mar 19, 2025
bf9d7e2
Set up per-thread pseudo-random number generators to improve efficien…
nboullis Jan 10, 2025
b4f1707
Updated R parameter input to new genetics
JetteReeg Mar 19, 2025
0da6eea
Run the first stage of Population::transfer in an OpenMP parallel loop.
nboullis Mar 19, 2025
5409239
Run in parallel the loop that resets the possible settlers.
nboullis Jan 22, 2025
2a017f5
Run the reproduction stage in an OpenMP parallel loop while preventin…
nboullis Jan 29, 2025
846ee8b
Run the “complete dispersal” stage in an OpenMP parallel loop.
nboullis Jan 30, 2025
be1720a
Run the second stage of the Population::transfer method in an OpenMP …
nboullis Jan 30, 2025
794172f
Run the “emigration” stage in an OpenMP parallel loop.
nboullis Feb 4, 2025
d8b93d7
Run the “survival” stages in an OpenMP parallel loop.
nboullis Mar 4, 2025
cba60ae
Run the “initiateDispersal” stage in an OpenMP parallel loop while ba…
nboullis Mar 4, 2025
a81e67c
Run the populations reset in an OpenMP parallel loop.
nboullis Mar 7, 2025
ef5cd1f
Fixing compilation errors for R package
JetteReeg Mar 20, 2025
70f9315
Updated genetic parameter settings
JetteReeg Mar 20, 2025
e1b9610
Merge commit 'ef5cd1f8d17f938d4991591b2f88691a352e0f07' into transloc…
JetteReeg Mar 20, 2025
4c08b5f
cleaned variable names
JetteReeg Mar 20, 2025
05a25f3
bugfixing settlement checks and reading landscapes (tested with a neu…
JetteReeg Mar 21, 2025
baefdac
Merge pull request #82 from RangeShifter/avoid_memory_copies
TheoPannetier Mar 24, 2025
8218cf3
Merge branch 'develop' into memory_usage
nboullis Mar 24, 2025
12c6077
fixed assertion for value to be TRUE or FALSE. ("(TRUE || FALSE)" is …
TheoPannetier Mar 24, 2025
58173e6
typo
TheoPannetier Mar 24, 2025
1e274e9
Updating documentation of help files
JetteReeg Mar 25, 2025
88fecaf
Bugfix genetic loads
JetteReeg Mar 27, 2025
6e2aefe
Add a full() method to the new MemoryQueue class for a cleaner design.
nboullis Mar 27, 2025
870ad76
Merge pull request #83 from RangeShifter/memory_usage
TheoPannetier Mar 28, 2025
835e9ff
Merge branch 'develop' into openmp_parallelization
nboullis Mar 31, 2025
64db26a
Forward-declare the Patch class and replace the corresponding intptr …
nboullis Mar 27, 2025
fc38888
Forward-declare the Population class and replace the corresponding in…
nboullis Mar 27, 2025
ef287d5
Forward-declare the SubCommunity class and replace the corresponding …
nboullis Mar 27, 2025
4e337ae
Make the subcommunity number a standard int rather than an intptr as …
nboullis Mar 27, 2025
a5c9d3b
fix Rcpp type conversion bug
TheoPannetier Apr 3, 2025
055ed6b
more type conversion errors
TheoPannetier Apr 4, 2025
47e06af
added RS_RCPP macro for R specific landscape inputs
JetteReeg Apr 8, 2025
ced9044
compared to RangeShifter_batch/new_genetics; now in line
JetteReeg Apr 8, 2025
365d736
rm duplicated batch name
TheoPannetier Apr 22, 2025
b0df20d
refactor trait summaries
TheoPannetier Apr 25, 2025
3b010f7
settlement and genetic load per cell trait refactor
TheoPannetier Apr 25, 2025
ea64bb5
refactor transfer
TheoPannetier Apr 25, 2025
5f014ac
initial individuals suffer genetic load
TheoPannetier Apr 28, 2025
96a47b2
Merge commit '7386236efd7e2ac31ef0da1f5b1ecda7274347ff' into new_gene…
TheoPannetier Apr 28, 2025
d6af7fa
Merge branch 'new_genetics' of https://github.com/RangeShifter/RScore…
TheoPannetier Apr 28, 2025
d5cf8c0
restore accidentally removed genetic load ofr asexual species. thanks…
TheoPannetier Apr 28, 2025
0544fc1
individuals initialised from files also suffer genetic load
TheoPannetier Apr 28, 2025
34b3414
can initialise only a subset of positions
TheoPannetier Apr 29, 2025
e816843
initial individuals do not suffer genetic load
TheoPannetier Apr 29, 2025
a1a4d7c
Merge pull request #85 from RangeShifter/no_intptr
TheoPannetier Apr 29, 2025
6673cda
Merge branch 'develop' into openmp_parallelization
nboullis Apr 30, 2025
2d000dd
typos
TheoPannetier Apr 30, 2025
dc8df2f
indentation and style
TheoPannetier Apr 30, 2025
06175a9
Merge branch 'openmp_parallelization' of https://github.com/RangeShif…
TheoPannetier Apr 30, 2025
77d744b
fetch eps only once per year
TheoPannetier Apr 30, 2025
195d038
turn openmp parallelisation on/off via config
TheoPannetier May 1, 2025
a02fcbd
Merge pull request #84 from RangeShifter/openmp_parallelization
TheoPannetier May 1, 2025
9c81dac
Split the Individual::getLocn() function in 2 distinct functions Indi…
nboullis May 5, 2025
5854c4e
Split functions to open/write to/close the individuals and population…
nboullis May 5, 2025
e0cd7dd
Split the survival functions.
nboullis May 6, 2025
b7f2d60
added debug output for translocations
JetteReeg May 7, 2025
092e852
Split the functions to open/close the range files.
nboullis May 9, 2025
f402c98
Split the functions to open/close the traits and traits rows files.
nboullis May 9, 2025
7c72197
Split the functions to open/close the genetics files.
nboullis May 12, 2025
f3b71b7
Split the functions to open/close the occupancy files.
nboullis May 12, 2025
0dac7fb
Split the functions to open/close the connect and paths files.
nboullis May 12, 2025
6b7f4d3
Split the Population::transfer method.
nboullis May 13, 2025
0d2460f
Cleanup unused parameters and variables in the new Population::transf…
nboullis May 13, 2025
a8a0ed2
Remove the compatibility Population::transfer function.
nboullis May 13, 2025
0620837
Split the SubCommunity::transfer method.
nboullis May 13, 2025
0c02670
Remove the compatibility SubCommunity::transfer function.
nboullis May 13, 2025
e65d989
Add new static methods Population::transfer_move, Population::transfe…
nboullis May 14, 2025
4037ecb
Add new static methods SubCommunity::transfer_move, SubCommunity::tra…
nboullis May 14, 2025
713fc05
Add a new SubCommunity::initiateMatrixDispersal method to move all in…
nboullis May 14, 2025
b92b543
Refactor the parallelization of the Community::dispersal method to en…
nboullis May 14, 2025
5936f4c
Remove old (now unused) methods.
nboullis May 14, 2025
893b484
added another check
JetteReeg May 20, 2025
6655955
Relax the thread synchronization in the Community::transfer method.
nboullis May 15, 2025
2275c4a
Replace the custom split_barrier class by standard std::barrier (and …
nboullis May 26, 2025
fa61fa6
Merge branch 'new_genetics' into transloc_new_genetics_spatial_demog_…
JetteReeg May 28, 2025
636ce1d
Merge commit 'fa61fa6c768da725a88f78c5841499b953376d00' into transloc…
JetteReeg May 28, 2025
dfa5ca3
adding initial Positions for genetics in Rinterface
JetteReeg May 28, 2025
6c7915a
Bugfix in DisperselKernel() helpfile
JetteReeg May 30, 2025
7d81a86
Bugfix in DispersalKernel helpfile
JetteReeg May 30, 2025
2dfe022
Merge pull request #86 from RangeShifter/split_functions
TheoPannetier Jun 1, 2025
a4b3e85
Merge branch 'develop' into refactor_transfer_parallelization
nboullis Jun 2, 2025
b611d6e
c++20 is needed for ranges library
JetteReeg Jun 3, 2025
fc51713
Added initial positions + initial nbr of positions to class_GeneticsP…
JetteReeg Jun 10, 2025
d535372
Prepared file input for varying demographic rates
JetteReeg Jun 11, 2025
d8e5256
patchnums not used anywhere so dropped them
TheoPannetier Jun 12, 2025
e0e40bc
ensure patch heterogeneity is written in the correct order
TheoPannetier Jun 12, 2025
dc2d350
cleanup readLandscape
TheoPannetier Jun 19, 2025
7f55f8d
updated to c++17 and added new function for translating int to string…
JetteReeg Jul 17, 2025
31131be
Merge commit '2dfe022ec9ebfd41b671b8796ada6b33d04d5945' into develop
JetteReeg Jul 17, 2025
114c909
bug in calculation of Ho: heterogeneity shouldn't be an integer
TheoPannetier Jul 17, 2025
c142585
merge conflict develop - new_genetics first attempt
TheoPannetier Jul 21, 2025
f350ce7
fixing git merge mistakes
TheoPannetier Jul 22, 2025
091ebe4
resolving more merge mistakes
TheoPannetier Jul 22, 2025
5f25433
solved linker issues raised by develop merge
TheoPannetier Jul 22, 2025
68c87ef
bring omp generalisation of the RNG to the RCPP version
TheoPannetier Jul 23, 2025
57c20b8
merge conflict
TheoPannetier Jul 23, 2025
5aea418
Integrated option for file inputs for spatial demographic scaling
JetteReeg Jul 25, 2025
b1abf9f
Implemented additional option for file input in spatial demographic s…
JetteReeg Jul 25, 2025
8607a9f
Merge commit '5aea4186b1b226992da792bbc2e49014d9ba4310' into transloc…
JetteReeg Jul 25, 2025
39e5402
Apply suggestions from code review
TheoPannetier Sep 8, 2025
24b6708
light refactor to increase readability
TheoPannetier Sep 8, 2025
f9c7197
incorporate edits from pr review
TheoPannetier Sep 8, 2025
e59a31c
transfer and settlement moved outside of population class
TheoPannetier Sep 8, 2025
48b74aa
make conditional barrier calls a wee bit more succinct
TheoPannetier Sep 8, 2025
b241646
fix mismatched definition
TheoPannetier Sep 9, 2025
3b0d19a
move matePresent out of population + better pop size getter
TheoPannetier Sep 9, 2025
6559fc3
Merge branch 'develop' into refactor_transfer_parallelization
TheoPannetier Sep 9, 2025
9b3f02c
Merge pull request #88 from RangeShifter/refactor_transfer_paralleliz…
TheoPannetier Sep 9, 2025
310d2c6
Merge remote-tracking branch 'origin/new_genetics' into transloc_new_…
JetteReeg Sep 12, 2025
5aa5b81
Merge commit '310d2c675043a81b51b3738d0bac028738a3b503' into transloc…
JetteReeg Sep 12, 2025
8f40ab4
BUGFIX in moveStep:
JetteReeg Sep 12, 2025
49ddb17
Updated R site after merge of new_genetics
JetteReeg Sep 12, 2025
37a1a3d
Merge commit '8f40ab41c0910ffa333b30e3d21b94856d05871c' into transloc…
JetteReeg Sep 12, 2025
4c70c77
Unit_test:
JetteReeg Sep 15, 2025
a7cf75e
updated Individual() constructor in unit_tests/testIndividual.cpp
JetteReeg Sep 15, 2025
fc73cc5
fix argument errors in unit tests
TheoPannetier Sep 17, 2025
0b9b20e
bugfix missing increment of total steps
TheoPannetier Sep 18, 2025
f01ac87
updated unit tests according to RScore/new_genetics
JetteReeg Sep 23, 2025
f19dbdd
adapted unit tests
JetteReeg Sep 23, 2025
0549336
Merge commit 'f19dbdd1865061590ce55a346fb11a7da34d09dc' into transloc…
JetteReeg Sep 23, 2025
371e891
fix test by shuffling individuals
TheoPannetier Sep 26, 2025
e120416
shuffle individuals before reproduction
TheoPannetier Sep 26, 2025
a58ba96
Merge commit '5cb14cfbc36db691dde9804715324d338d8da597'
JetteReeg Sep 29, 2025
39d5a68
fix unreliable kernel tests
TheoPannetier Sep 29, 2025
d996e37
separate unit tests from NDEBUG macro
TheoPannetier Sep 29, 2025
f393706
higher tolerance
TheoPannetier Sep 30, 2025
6d2b2da
small merge conflict
TheoPannetier Sep 30, 2025
24626b2
resolve merge conflict develop into new_genetics
TheoPannetier Sep 30, 2025
7a35d62
boundary test less likely to fail with higher dispersal distance
TheoPannetier Oct 1, 2025
a77d33f
Merge branch 'new_genetics' of https://github.com/RangeShifter/RScore…
TheoPannetier Oct 1, 2025
a8467b2
inconsistent names after merge conflict
TheoPannetier Oct 1, 2025
86bd62f
fix missing decrement of population size
TheoPannetier Oct 1, 2025
4584169
bug fix on single-locus genes?
TheoPannetier Oct 2, 2025
de3ed49
doc bottom left corner
TheoPannetier Oct 20, 2025
a63e779
fix tests - hardy weinberg expectation is not met because finite size…
TheoPannetier Oct 20, 2025
bbceed4
Merge commit 'a63e779df7fc0a27d80b413db2b419ff8cfb0f4d' into new_gene…
TheoPannetier Oct 20, 2025
7e2e076
Added parameter fixreplicateseed
JetteReeg Nov 4, 2025
757ca0f
Improve documentation for translocation
JetteReeg Nov 4, 2025
cd4b984
Merge branch 'new_genetics' into transloc_new_genetics_spatial_demog_…
JetteReeg Nov 13, 2025
d256e68
reverted one change to see if unit tests are now successful
JetteReeg Nov 13, 2025
81212f0
Manually merged changes from new_genetics
JetteReeg Nov 14, 2025
ea8adf2
Merge commit '81212f073d3a904f9549c5317902c59eeca91a6f' into transloc…
JetteReeg Nov 17, 2025
9516aa1
fixing minor bugs for RCPP flag
JetteReeg Nov 17, 2025
7eba966
Merge commit '9516aa10ba128c006ea384274536d808bfb7d6d3' into transloc…
JetteReeg Nov 17, 2025
8c990d2
bugfix for dynamic landscapes:
JetteReeg Nov 21, 2025
79950b1
Merge commit '8c990d262f23c78af804c2cfce91164c45553d03' into transloc…
JetteReeg Nov 21, 2025
8bce5b1
updates help files, version, minor bugs
JetteReeg Nov 21, 2025
c142584
Minor Updates:
JetteReeg Nov 27, 2025
0904483
Merge branch 'transloc_new_genetics_spatial_demog_merge' of https://g…
JetteReeg Nov 27, 2025
f751f01
Potential fix for pairwise fst calculation. Charlotte to test.
RoslynHenry Dec 3, 2025
86a8edd
Merge commit '6d2b2dae1a2fe6574f6e2d5fca300d37738f2ff4' into develop
JetteReeg Dec 4, 2025
c52063c
Corrected pairwise fst calculation using weir and cockerham
RoslynHenry Dec 11, 2025
dbc2a1a
Merge remote-tracking branch 'origin/transloc_new_genetics_spatial_de…
JetteReeg Dec 16, 2025
b405e4c
Bugfixes + documentation
JetteReeg Dec 16, 2025
e70d652
Merge commit 'dbc2a1ab67dbf2ea96a964aa6abae9524e0c88f0' into develop
JetteReeg Dec 16, 2025
cf7164f
Merge remote-tracking branch 'origin/transloc_new_genetics_spatial_de…
JetteReeg Dec 17, 2025
91a2d5e
bugfix:
JetteReeg Dec 19, 2025
7c98e29
typo in translocation help page
JetteReeg Jan 8, 2026
e2a2a46
Changes to outputPairwiseFst rather than outputWeirHill
RoslynHenry Jan 12, 2026
a441d33
Updating based on changes done in RangeShifter_batch/new_genetics/src…
JetteReeg Jan 13, 2026
cb435ea
adapted unit_test for NeutralStats so it will compile
JetteReeg Jan 13, 2026
28b067a
Merge commit 'cb435ea8b8be33aefef2c787fa91c9f5618dd887' into new_gene…
JetteReeg Jan 13, 2026
9e41f78
Bring RScore/new_genetics up-to-date with src/RScore RangeShifter_ba…
JetteReeg Jan 13, 2026
f889a56
Merge commit '9e41f786f701b5dd9a03d167becb8e19c10f85c7' into new_gene…
JetteReeg Jan 13, 2026
8d3d7fd
Updating based on changes done in RangeShifter_batch/new_genetics/src…
JetteReeg Jan 13, 2026
ec37a62
adapted unit_test for NeutralStats so it will compile
JetteReeg Jan 13, 2026
e2014f6
Bring RScore/new_genetics up-to-date with src/RScore RangeShifter_ba…
JetteReeg Jan 13, 2026
3ac67a5
removed duplicated #include header
JetteReeg Jan 13, 2026
bb2f414
Merge commit '3ac67a597c3ea0d697452ff778aac9b5997cde89' into develop
JetteReeg Jan 13, 2026
404b2b6
Replacement of outWeirHill with outPairwiseFst in writeNeutralOutputF…
JetteReeg Jan 13, 2026
f36be67
Merge commit '404b2b6e65a7a7e2e061aa278e78cb8913c467f2' into develop
JetteReeg Jan 13, 2026
a64666d
Changes to decouple genetic output
RoslynHenry Jan 22, 2026
61a62e7
adapted genetic parameter names to changes done in RScore
JetteReeg Jan 26, 2026
097599d
bug fixes for outputting genetics interval
RoslynHenry Jan 26, 2026
1d82072
Bug fix for genetic output
RoslynHenry Feb 5, 2026
ce62662
Merge remote-tracking branch 'origin/new_genetics' into develop
JetteReeg Feb 19, 2026
cfceeb4
Changed output for R interface:
JetteReeg Feb 20, 2026
f0693b6
Updates on output (R specific) + improved documentation
JetteReeg Feb 20, 2026
594d5e5
Merge commit 'cfceeb48bf7fb317bbcb21f0dea5eae2e02a3ad6' into develop
JetteReeg Feb 20, 2026
cd37267
bugfixes
JetteReeg Feb 20, 2026
957e2ce
Minor changes for R output option of the R package interface
JetteReeg Mar 19, 2026
118fc9f
minor changes for returned output to R
JetteReeg Mar 20, 2026
9c2aa49
Merge commit '957e2cecfa1210dd3d2479b5bdab7627f4d03a67' into develop
JetteReeg Mar 20, 2026
834aa75
updated documentation file for Simulation()
JetteReeg Mar 20, 2026
09e171e
Updated README.md
JetteReeg Mar 20, 2026
1d1532d
Updated Copyright section on each file
JetteReeg Mar 20, 2026
207cc18
Merge commit '1d1532d8a478dfe7998c764e76a646880c16d821' into develop
JetteReeg Mar 20, 2026
4c7364f
theo is no longer a maintainer 🥲
TheoPannetier Mar 22, 2026
6872eab
Merge commit '4c7364f76435d52e07731d158707acdfc7e92423' into develop
JetteReeg Mar 24, 2026
072d3af
Clean-up
JetteReeg Mar 24, 2026
de50470
Merge commit '072d3afcbdde7f1cca68980e2c70fdeb121c90ca' into develop
JetteReeg Mar 24, 2026
1657d63
Apply Species.cpp fix from RangeShifter_batch commit c991e48
JetteReeg Mar 24, 2026
a5648e0
Merge commit '1657d63d59c063055886adf473b227eaa1172e92' into develop
JetteReeg Mar 24, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for RangeShifter
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/improve-existing-content.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: Improve existing content
about: 'Make a suggestion to improve the R package '
title: ''
labels: ''
assignees: ''

---


11 changes: 6 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ compile_commands.json
Makefile
.build-release/
build-Release/
*.txt
*.project
*.workspace
*.mk
*.txt
*.tags

# Hidden source
Expand Down Expand Up @@ -79,9 +81,8 @@ vignettes/*.pdf
*.utf8.md
*.knit.md

# compilation files
*.o
# Test Scripts
/Model/
TestScript.R


# Visual Studio files
.vs/
out/
13 changes: 0 additions & 13 deletions Allele.h

This file was deleted.

64 changes: 33 additions & 31 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
# The RangeShifter platform - An eco-evolutionary modelling framework
# The RangeShifter platform - An eco-evolutionary modelling framework

## How to contribute

Thank you for your interest in contributing to the RangeShifter platform.
In this document we will give you guidance on how to contribute to the RangeShifter project regarding issues, bug fixing and adding new features.
In this document we will give you guidance on how to contribute to the RangeShifter project regarding issues, bug fixing and adding new features. We distinguish between contributing to the RangeShifter core code and the different interfaces - in this case the R package.

## Repo structure

![Rangeshifter repo structure](RS_repos.png)
![Rangeshifter repo structure](RangeShiftR/man/figures/RS_repos.png)

RangeShifter is distributed with three user interfaces, each living in their own repo:

- the RangeShifter GUI (clickable Windows interface)*
- RangeShifter Batch Mode (command line interface)
- the RangeShiftR package (R interface)

All three share the same source code for the core simulation (i.e., the actual model), which lives in this repo (RScore). Each of the interfaces keeps a copy of this core code in a subfolder called RScore, kept in sync with the RScore repo via a git subtree (see Git subtree usage section).
All three share the same source code for the core simulation (i.e., the actual model), which lives in its own repo (RScore). Each of the interfaces keeps a copy of this core code in a subfolder called RScore, kept in sync with the RScore repo via a git subtree (see [Git subtree usage section](https://github.com/RangeShifter/RScore?tab=readme-ov-file#usage-git-subtree).

⚠ If you wish to propose a change to one of the interfaces, please do so in the corresponding repo: [RangeShifter batch mode](https://github.com/RangeShifter/RangeShifter_batch_dev), [RangeShiftR package](https://github.com/RangeShifter/RangeShiftR-package-dev).
If you wish to propose a change to the core code of the simulation, please do so *in the [RScore](https://github.com/RangeShifter/RScore) repo*, rather than in the RScore folder of either interface.

*The RangeShifter GUI is currently being rewritten, and is not open source yet.

Expand All @@ -40,52 +40,54 @@ Anyone who whishes to make changes to RangeShifter's code, including regular dev

## Branching policy

<<<<<<<< HEAD:src/RScore/CONTRIBUTING.md
![](branches.png)
![](RangeShiftR/man/figures/branches.png)

*Check out the [Git cheatsheet](https://github.com/RangeShifter/RScore/blob/main/git_cheatsheet.md) for a reminder on the main git commands*

========
>>>>>>>> develop:CONTRIBUTING.md
This policy applies to RScore and all three RangeShifter interfaces.
RangeShifter uses the following branching structure:

- `main` is the default branch, where stable releases live. Because it contains the version of RangeShifter that users normally interact with, it must be stable and build at all times.
Only maintainers should make significant changes to `main`, normally by merging `develop` into `main` to make newly developed features available to users, and marking a release while doing so.
- `develop` is the development branch containing new, in-development features. It is the reference branch for all developers. Contributors may make small changes directly to `develop` but should ensure that new changes do not break the build. If one happens to break `develop`, it should be their top priority to fix it as this will disrupt the work of all other contributors.
Larger changes should instead be developed on feature branches.
Only maintainers should make significant changes to `main`, normally by merging `develop` into `main` to make newly developed features and bug fixes available to users, and marking a release while doing so.
- `develop` is the development branch containing new, in-development features. It is the reference branch for all developers. Contributors may make small changes and bug fixes directly to `develop` but should ensure that new changes do not break the build. If one happens to break `develop`, it should be their top priority to fix it as this will disrupt the work of all other contributors.
Larger changes should instead be developed on feature branches.
- Larger changes should be first developed on feature (e.g. `cmake`, `mutualism`, etc.) or contributor (e.g., `theo`) branches. Contributors are welcome to experiment and break such branches at any time, as this will not impact users or other contributors.

When progress is deemed satisfactory, changes can be brought to `develop`. Please open a pull request on GitHub, and assign at least one maintainer as a reviewer. As a pre-requisite, RangeShifter must build on the branch before merging. Please enter a descriptive title and use the description field to describe what you have changed.
When progress is deemed satisfactory, changes can be brought to `develop`. Please open a pull request on GitHub, and assign at least one maintainer as a reviewer. As a pre-requisite, RangeShifter must build on the branch before merging. Please enter a descriptive title and use the description field to describe what you have changed.

In the meantime, we encourage contributors to work in small and frequent commits, and to merge `develop` into their branch often to update their branch with newest changes.
In the meantime, we encourage contributors to work in small and frequent commits, and to merge `develop` into their branch often to update their branch with newest changes.

If you need a reminder on the main git commands related to committing and branching, head to the [Git cheatsheet](https://github.com/RangeShifter/RScore/blob/main/git_cheatsheet.md).

## Contributing to the RangeShifter core code

Any changes (issues, bugs, features) regarding the actual RangeShifter core code should be done in [this](https://github.com/RangeShifter/RScore) repository and can afterwards be synced with all interfaces using the git subtree feature (see [Git subtree](https://github.com/RangeShifter/RScore?tab=readme-ov-file#usage-git-subtree) section in the README).

Please check the [contributing guidelines for the RScore code](https://github.com/RangeShifter/RScore/blob/main/CONTRIBUTING.md).

### Contributing to RangeShifter core code
## Contributing to the RangeShiftR package

Any changes regarding the RangeShifter core code should be done in this repository and can afterwards be synced with all interfaces using the git subtree feature (see [Git subtree](https://github.com/RangeShifter/RScore/tree/main?tab=readme-ov-file#usage-git-subtree) section in the README).
Please follow these guidelines for issues, bugs or new features related to the RangeShiftR-package.

### Issues and bugs

#### Bugs
Issues should be used for reporting technical problems and bugs with the R package or suggest improvements e.g. in the documentation.
General and more conceptual questions regarding the application and settings of RangeShifter parameters should be asked in the [discussion forum](https://github.com/RangeShifter/RangeshiftR-tutorials/discussions) and answered by the broader RangeShifter community.

To report a bug, please [open an issue](https://github.com/RangeShifter/RangeShiftR-package/issues/new), using the Bug Report template.
Please do check if a related issue has already open on one of the other interfaces ([here](https://github.com/RangeShifter/RangeShifter_batch/issues) for the batch interface or [here](https://github.com/RangeShifter/RangeShiftR-package) for the R package interface).
#### Create a new issue

To propose a bug fix (thank you!!), please create and work on your own branch or fork, from either `main` or `develop` (preferred), and open a pull request when your fix is ready to be merged into the original branch.
If you encounter a technical problem, find a bug related to the RangeShiftR package or would like to suggest an improvement to the R package, please search if [a related issue already exists](https://github.com/RangeShifter/RangeShiftR-package-dev/issues). If you can't find a related issue, you can open a new issue using a relevant [issue form](https://github.com/RangeShifter/RangeShiftR-package-dev/issues/new/choose). To propose a bug fix (thank you!!), please create and work on your own branch or fork, from either `main` or `develop` (preferred), and open a pull request when your fix is ready to be merged into the original branch.

As a prerequisite for merging, please ensure that your version passes status check (that is, RScore can still build, and all unit tests are still satisfied).
This can be seen in the Actions panel for every commit and at the bottom of the pull request.
As a prerequisite for merging, please ensure that the R package is build correctly. GitHub Action will soon be used for ensuring a successfull build of the R package interface on all operating systems (i.e. R CMD CHECK needs to run without warnings).

Maintainers will review the pull request, possibly request changes, and eventually integrate the bug fix into RScore, and update the subtrees to bring the fix to all interfaces.
Maintainers will review the pull request, possibly request changes, and eventually integrate the bug fix into the RangeShiftR package.

#### New features
### New feature

Do you have an idea of a new feature in the RangeShifter platform that should be integrated and is of use for other RangeShifter users?
Please get in touch with the RangeShifter development team (rangeshiftr@uni-potsdam.de) to discuss a collaboration.
Do you have an idea of a new feature in the RangeShiftR package that should be integrated and is of use for other RangeShiftR users?
Please get in touch with the RangeShifter development team directly (rangeshiftr@uni-potsdam.de) to discuss a collaboration.

⚠️ We advise to contact the developer team as early as possible if you plan on implementing a new feature. This could prevent simultaneous development of the same feature and coordinate potential joint development.
⚠️ We advise to contact the developer team as early as possible if you plan on implementing a new feature of the R package interface. This could prevent simultaneous development of the same feature and coordinate potential joint development.

Alternatively, proceed as with the bug fix above: create your own branch or fork _from `develop`_ and work from there, and submit a pull request when your new features are ready to join the core code.
Alternatively, proceed as with the bug fix above: create your own branch _from `develop`_ and work from there, and submit a pull request when your new features are ready to join the core code.
We recommend that you update your branch regularly to new changes on `develop` (using `git merge develop`) to reduce the risk of merge conflicts or your version getting out-of-touch in the late stages of development.
We also recommend that you work in small commits, as this makes the code easier to debug, and makes it easier for maintainers to understand your contributions when reviewing a pull request.

*Do we welcome independent contributions?
8 changes: 4 additions & 4 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.

Expand Down Expand Up @@ -645,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found.
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
along with this program. If not, see <https://www.gnu.org/licenses/>.

Also add information on how to contact you by electronic and paper mail.

Expand All @@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
<https://www.gnu.org/licenses/>.

The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
<https://www.gnu.org/licenses/why-not-lgpl.html>.
31 changes: 0 additions & 31 deletions QuantitativeTrait.h

This file was deleted.

Loading