hsloot / cvalr

Credit derivative valuation in R
Other
1 stars 2 forks source link

[BUG] Wrong implementation of validity methods #23

Closed hsloot closed 3 years ago

hsloot commented 3 years ago

Description

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.