Closed matthieugomez closed 2 years ago
Probably linked to https://github.com/JuliaMath/SpecialFunctions.jl/issues/334
Yes, this is https://github.com/JuliaMath/SpecialFunctions.jl/issues/334 which was exposed here due to our partial switch from Rmath to Julia implementations based on SpecialFunctions in 0.9.16. fdistccdf(1, 100_000, 10_000)
ends up calling betaccdf(0.5, 50_000, 1/11)
which is computed as last(SpecialFunctions.beta_inc(0.5, 50_000, 1/11))
.
Until the upstream bug in SpecialFunctions is fixed, probably the easiest solution is to pin StatsFuns to 0.9.15.
This creates errors in downstream packages: https://github.com/FixedEffects/FixedEffectModels.jl/issues/192
Is it possible to remove the tag 0.9.16 instead? (and maybe use 0.10)
I've made a PR with a patch. We might be able to release it later today.
Should be fixed with https://github.com/JuliaRegistries/General/pull/55444. Please report back if you still experience problems downsrteam.
Thanks a lot!
On StatsFuns v0.9.15,
fdistccdf(1, 100000, 10000.0)
used to return0.0
. On v0.9.16, it now returns an error:This error makes GLM
fit
fail in certain cases