Closed nalimilan closed 1 year ago
Given that we have a chicken-and-egg problem to get CI to pass in Statistics.jl and in Julia, I've restored definitions for mean
and mean!
, making them conditional on isdefined(Base, :mean)
. That way we can merge this here with CI passing, and then update https://github.com/JuliaLang/julia/pull/46501 to use the latest Statistics.jl and CI should pass there too. Then we can drop function definitions. OK?
I also dropped mean
and mean!
from the manual as that causes the Julia build to fail due to duplicate inclusion of docstrings.
mean
andmean!
are now defined in Base.
Big if true 😜
I also dropped
mean
andmean!
from the manual as that causes the Julia build to fail due to duplicate inclusion of docstrings.
Documenter complains about having the same docstring twice? I guess that makes sense since in most cases that's probably user error. Unfortunate that they need to be removed though because of that though. So in the period between the merging of this and merging the linked Julia PR, mean
(!
) won't appear in any manual builds?
Documenter complains about having the same docstring twice? I guess that makes sense since in most cases that's probably user error. Unfortunate that they need to be removed though because of that though. So in the period between the merging of this and merging the linked Julia PR,
mean
(!
) won't appear in any manual builds?
No, because the master branch of Statistics will only be used after merging the Julia PR. Any changes made here will have zero effect on users as long as we don't bump the commit in Julia.
Patch coverage: 88.09%
and project coverage change: +0.01%
:tada:
Comparison is base (
bb7063d
) 96.98% compared to head (0f9ea53
) 96.99%. Report is 1 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Actually given that Statistics will remain an stdlib (at least for now), and simply become upgradable, mean
isn't going to move to Base so this PR isn't needed anymore. https://github.com/JuliaStats/Statistics.jl/pull/148 reverts it.
mean
andmean!
are now defined in Base.Tests will fail until https://github.com/JuliaLang/julia/pull/46501 is merged.