NEWS
rsocsim 1.9.17
- small fixes after CRAN feedback:
- supressable output
- on.exit() instead of finally() to reset working directory
- remove \dontrun or replace \dontrun with \donttest in documentation
rsocsim 1.9.14
- significant performance improvements in retrieve_kin()
rsocsim 1.9.9
- package metadata and documentation cleanup for CRAN submission
- refreshed release references in the README
rsocsim 1.9.7
- new: parallelization!
- one can provide a list of seeds or a list of sup-filenames and all those simulations will be executed in parallel
- read_opop and read_omar will read several result files into one dataframe, if the user supplies a list of seeds or a list of filenames instead of only one seed. These functions increment ids so that ids will not collide.
- printing to the console:
- removed lots of unneccessary print statements
- replaced lots of sprintf statements in the C/C++ code with safer wrapper functions
- most simulation log-file statements are now "debug-level" and will not pollute the log-file
- Making the package CRAN-ready by removing lots of warnings
- fixed some issues/inconsistencies in retrieve_kin and estimate_rates
- added more test simulations
- Bugfix:restore input/output folder naming behavior from version 1.5.9
rsocsim 1.9
- improved marriage queue:
- array based index
- 1.9.2: for performance, one can now sample n males instead of all males from the marriage queue
- default marriage_sample_size = 1000
*change in sup-file with the keyword "marriage_sample_size 2000"
rsocsim 1.8.5
- added a working minimum age check for husbands, defaults to 15 years. Didn't always work before
rsocsim 1.8
- added end2end tests as a preparation for some improvements to the C code
rsocsim 1.7.4
- added parameter presim_duration_months to download_rates
rsocsim 1.7.0
- added function create_initial_simulation
- the code is based on https://github.com/MPIDR/rsocsim_workshop_paa?tab=readme-ov-file#23-create-initial-population-and-marriage-files
- merged bugfixes that caused crashes in socsim since December 2024
rsocsim 1.6.0
- added function download_rates, which downloads UN rates and saves them into rsocsim format
- See https://github.com/MPIDR/rsocsim/issues/28
rsocsim 1.5.9
- removed keyword register in load.cpp (See https://github.com/MPIDR/rsocsim/issues/11; it causes errors on Mac)
rsocsim 1.5.8
- renamed getKin() to retrieve_kin()
- bugfixes
rsocsim 1.5.7
rsocsim 1.5.6
- read_opop and read_omar
- works on linux and windows, also with future and clustercall. Mac not tested, linux sometimes flaky
rsocsim 1.5.5
- compiles and runs on Linux again
- reorganized contributed code from Liliana and Mallika
- todo: tests for contributed code. how to use these functions?
- todo: install and run on Mac
rsocsim 1.5.4
- Max age 200 years
- new command for sup files: marriage_after_childbirth 1
- allows simulations without marriage rates
- mothers will marry immediately before childbirth if not married already
rsocsim 1.5.3
- compiles on Github now
- use pkgdown to generate documentation-website