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

[BUG] Wrong implementation of validity methods #89

Closed hsloot closed 3 years ago

hsloot commented 3 years ago

The implemented validity methods themselves throw errors if the object is invalid. This is not how it is supposed to be - it should return a character describing the problem instead, such that setValidity can be called with test = FALSE.

hsloot commented 3 years ago

See https://github.com/hsloot/cvalr/issues/23