tidylab / decorators

Extend the behaviour of a function without explicitly modifying it
https://tidylab.github.io/decorators/
Other
12 stars 0 forks source link

New decorator: validate_output #9

Open harell opened 3 years ago

harell commented 3 years ago

validate_output(func, predicate)

validate_output(auto.arima, checkresiduals)

The output of auto.arima is passed to checkresiduals.