epinowcast / primarycensored

Primary event censored distributions in R and Stan.
https://primarycensored.epinowcast.org/
Other
7 stars 1 forks source link

Issue 55: Add fitdistdoublecens wrapper #61

Closed seabbs closed 1 month ago

seabbs commented 1 month ago

Description

This PR closes #55 by improving support for fitdistrplus vis a new wrapper function fitdistdoublecens. Unfortunately it does so by assigning temporary functions to the global environment as this was the only solution found to work with fitdistrplus. This means that it may not be CRAN compliant opening a new issue for this).

Checklist

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.62%. Comparing base (e660e0f) to head (4ec06d7). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #61 +/- ## ========================================== + Coverage 99.51% 99.62% +0.10% ========================================== Files 6 7 +1 Lines 207 268 +61 ========================================== + Hits 206 267 +61 Misses 1 1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.