ocbe-uio / TruncExpFam

R package to generate data related to the Truncated Exponential Family
https://ocbe-uio.github.io/TruncExpFam/
GNU General Public License v3.0
0 stars 1 forks source link

Remove `...` from `rtrunc_direct()`? #104

Closed wleoncio closed 6 months ago

wleoncio commented 7 months ago

Methods are not using this, so it might be safe to remove. Check what Writing R Extensions has to say about it first, though.

wleoncio commented 6 months ago

Can't do this. The generic needs to keep the ... because it receives both common arguments (parms, a, b) and distribution-specific ones (mu, sd, lambda, etc.). If the generic contains ..., the methods also need to have it.