ocbe-uio / contingencytables

Statistical Analysis of Contingency Tables
https://ocbe-uio.github.io/contingencytables/
GNU General Public License v3.0
3 stars 2 forks source link

Improve handling of generics #15

Closed wleoncio closed 3 years ago

wleoncio commented 3 years ago

The internal generic functions in R/generics.R are used by the following exported functions:

So far, methods are being called directly, but that is not ideal. Ideally, they should only call the generics and have the generics handle the dispatching.

wleoncio commented 3 years ago

414c6ce fixed this satisfactorily. Methods still need to be explicitly called when used as an argument of uniroot(), though, but at least the methods only need a simple renaming to work now.