As far as I can see the collection of "d-p-q-r" functions (to use the R terminology) in src/distrs/norm.jl is complete. I propose that the implementations (not the functions themselves) be moved to Distributions/src/univariate/continuous/normal.jl and the functions here be deprecated.
The deprecation might be a bit tricky because the Distributions package requires the StatsFuns package, not the other way around. The situation here would be that to deprecate functions in StatsFuns you need to ensure that a certain version of Distributions or later is available. Given that user code and other packages "should" not call these functions directly that may not be too much of a problem. But it is a tricky situation.
Where should a function like _norminvlogcdf_impl and its dependencies go? I think it should migrate with the other code to Distributions but then does it need a new name to avoid a conflict with the function here during the deprecation period?
I hope what I am asking makes sense. Ping me if this is too confusing. I have only had one cup of coffee so this might be complete nonsense.
As far as I can see the collection of "d-p-q-r" functions (to use the R terminology) in
src/distrs/norm.jlis complete. I propose that the implementations (not the functions themselves) be moved toDistributions/src/univariate/continuous/normal.jland the functions here be deprecated.The deprecation might be a bit tricky because the
Distributionspackage requires theStatsFunspackage, not the other way around. The situation here would be that to deprecate functions inStatsFunsyou need to ensure that a certain version ofDistributionsor later is available. Given that user code and other packages "should" not call these functions directly that may not be too much of a problem. But it is a tricky situation.Where should a function like
_norminvlogcdf_impland its dependencies go? I think it should migrate with the other code toDistributionsbut then does it need a new name to avoid a conflict with the function here during the deprecation period?I hope what I am asking makes sense. Ping me if this is too confusing. I have only had one cup of coffee so this might be complete nonsense.