Skip to content

Commit 997ce22

Browse files
committed
chore(release): update citation and changelog for release
1 parent 8452084 commit 997ce22

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ repository-code: >-
1919
abstract: >-
2020
A template for creating discrete-event simulation (DES) models in R
2121
within a reproducible analytical pipeline (RAP).
22-
version: 0.2.0
23-
date-released: '2025-03-11'
22+
version: 0.3.0
23+
date-released: '2025-03-18'

NEWS.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
# R DES RAP Template 0.3.0
2+
3+
Major changes include addition of functions/classes for choosing the warm-up length and number of replications. Other changes include tests, possibility to override seeds in runner, a bug fix for the mean wait time and serve length, code refactoring, and others.
4+
5+
## New features
6+
7+
* Add file explaining how `set_attributes()` changes results (`using_set_attributes.Rmd`).
8+
* Add functions for choosing warm-up length (`choose_warmup`) and an example file (`choosing_warmup.Rmd`).
9+
* Add some extra checks in functional tests using the unseen metrics.
10+
* Add classes/functions for automated choice of the number of replications (`choose_replications.R`) and an example file explaining these (`choosing_replications.Rmd`), along with tests for these (`test-backtest-replications.R`, `test-functionaltest-replications.R`, `test-unittest-replications.R`).
11+
* Add options in `runner()` to override future.seed and use the run numbers as seeds (allowing consistency with `model()`) (and add test using it).
12+
* Add unit test for parallel processing.
13+
14+
## Bug fixes
15+
16+
* Corrected calculation of mean wait and serve length (previously dropped all arrivals NA for `end_time` - now bases on `wait_time`, and so includes people who are midway through appointment at end of simulation).
17+
18+
## Other changes
19+
20+
* Split calculations from `get_run_results()` into seperate functions for simplicity, and to make them reusable for other purposes.
21+
* Simplified calculation of utilisation (same output, simpler code).
22+
* Add example of calculating overall results table to `analysis.Rmd`.
23+
* Add "how does model work" and "acknowledgements" sections to README.
24+
125
# R DES RAP Template 0.2.0
226

327
Warm-up period, "unseen" metrics and tests. Note that the alteration to record service duration altered the order of random number generation, so results now differ from before.

0 commit comments

Comments
 (0)