epiforecasts / bpmodels

[No longer being developed. Use the epichains package instead]. Methods for simulating and analysing the sizes and lengths of chains from branching process models
https://epiforecasts.io/bpmodels/
Other
7 stars 7 forks source link

Correct comment in `chain_sim()` example #74

Closed jamesmbaazam closed 1 year ago

jamesmbaazam commented 1 year ago

This PR corrects a comment in the example of chain_sim() that says that an error is thrown when serial is set and tree is also specified as FALSE. The comment now says that a warning is thrown.

This PR closes #72.

codecov-commenter commented 1 year ago

Codecov Report

Merging #74 (9ff9196) into main (e63bd8c) will decrease coverage by 2.10%. The diff coverage is n/a.

:exclamation: Current head 9ff9196 differs from pull request most recent head 03719b2. Consider uploading reports for the commit 03719b2 to get more accurate results

@@            Coverage Diff             @@
##             main      #74      +/-   ##
==========================================
- Coverage   96.23%   94.14%   -2.10%     
==========================================
  Files           5        5              
  Lines         239      239              
==========================================
- Hits          230      225       -5     
- Misses          9       14       +5     
Impacted Files Coverage Δ
R/borel.r 100.00% <ø> (ø)
R/likelihoods.R 100.00% <ø> (ø)
R/simulate.r 92.40% <ø> (-6.33%) :arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more