hsloot / rmo

An R package for Marshall--Olkin distributions and copulas.
https://hsloot.github.io/rmo/
GNU General Public License v3.0
5 stars 2 forks source link

Refactor/rmolib #64

Closed hsloot closed 3 years ago

hsloot commented 3 years ago

Related issues

Refactor C++ backend and use distribution classes similar to the standard library header <random>

Checklist

Only for new or refactored algorithms:

Optional, but recommended:

codecov[bot] commented 3 years ago

Codecov Report

Merging #64 (ff97051) into master (901252d) will decrease coverage by 4.26%. The diff coverage is 96.21%.

Impacted file tree graph

@@             Coverage Diff             @@
##            master      #64      +/-   ##
===========================================
- Coverage   100.00%   95.73%   -4.27%     
===========================================
  Files           32       45      +13     
  Lines          562     1430     +868     
===========================================
+ Hits           562     1369     +807     
- Misses           0       61      +61     
Impacted Files Coverage Δ
R/sample.R 14.28% <ø> (-85.72%) :arrow_down:
inst/include/rmolib/algorithm/shuffle.hpp 57.14% <57.14%> (ø)
src/testutils-approxequals.h 78.94% <78.94%> (ø)
src/sample.cpp 83.33% <83.33%> (-16.67%) :arrow_down:
src/testutils-tester_distribution.h 91.83% <91.83%> (ø)
...lib/random/multivariate/arnold_mo_distribution.hpp 92.85% <92.85%> (ø)
...andom/multivariate/markovian_exmo_distribution.hpp 93.13% <93.13%> (ø)
...rmolib/random/multivariate/esm_mo_distribution.hpp 93.24% <93.24%> (ø)
inst/include/rmolib/math/binomial_coefficient.hpp 93.33% <93.33%> (ø)
src/test-r_discrete_distribution.cpp 94.59% <94.59%> (ø)
... and 70 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 901252d...ff97051. Read the comment docs.