This is potentially very dangerous that the function gamma() defined in distribution.R hides the base::gamma() function. Rename it (and all your distribution functions accordingly). Suggestions: d_gamma(), distr_gamma(), etc... Just make sure there is consistency across the various distribution functions defined in the package.
This is potentially very dangerous that the function
gamma()
defined in distribution.R hides thebase::gamma()
function. Rename it (and all your distribution functions accordingly). Suggestions:d_gamma()
,distr_gamma()
, etc... Just make sure there is consistency across the various distribution functions defined in the package.