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

Fix/validity methods #91

Closed hsloot closed 3 years ago

hsloot commented 3 years ago

Related issues

Closes #89

Checklist

Only for new or refactored algorithms:

Optional, but recommended:

Description

Fix implementation of initializers and validity methods. In particular, validObject can now be called with the argument test = TRUE without causing an error.

codecov[bot] commented 3 years ago

Codecov Report

Merging #91 (9dd45c5) into master (2cca284) will decrease coverage by 0.05%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #91      +/-   ##
==========================================
- Coverage   97.52%   97.46%   -0.06%     
==========================================
  Files          31       31              
  Lines        1252     1263      +11     
==========================================
+ Hits         1221     1231      +10     
- Misses         31       32       +1     
Impacted Files Coverage Δ
R/valueOf-S4.R 99.29% <ø> (ø)
R/allInitialize-S4.R 100.00% <100.00%> (ø)
...molib/random/univariate/bernoulli_distribution.hpp 94.73% <0.00%> (-2.64%) :arrow_down:

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 2cca284...9dd45c5. Read the comment docs.