@@ -293,12 +293,6 @@ deprecate(Base, :DSP, 2)
293
293
using . DSP
294
294
export conv, conv2, deconv, filt, filt!, xcorr
295
295
296
- # PR #21709
297
- @deprecate cov (x:: AbstractVector , corrected:: Bool ) cov (x, corrected= corrected)
298
- @deprecate cov (x:: AbstractMatrix , vardim:: Int , corrected:: Bool ) cov (x, dims= vardim, corrected= corrected)
299
- @deprecate cov (X:: AbstractVector , Y:: AbstractVector , corrected:: Bool ) cov (X, Y, corrected= corrected)
300
- @deprecate cov (X:: AbstractVecOrMat , Y:: AbstractVecOrMat , vardim:: Int , corrected:: Bool ) cov (X, Y, dims= vardim, corrected= corrected)
301
-
302
296
# PR #22325
303
297
# TODO : when this replace is removed from deprecated.jl:
304
298
# 1) rename the function replace_new from strings/util.jl to replace
@@ -1351,13 +1345,6 @@ export readandwrite
1351
1345
@deprecate findmin (A:: AbstractArray , dims) findmin (A, dims= dims)
1352
1346
1353
1347
@deprecate mean (A:: AbstractArray , dims) mean (A, dims= dims)
1354
- @deprecate varm (A:: AbstractArray , m:: AbstractArray , dims; kwargs... ) varm (A, m; kwargs... , dims= dims)
1355
- @deprecate var (A:: AbstractArray , dims; kwargs... ) var (A; kwargs... , dims= dims)
1356
- @deprecate std (A:: AbstractArray , dims; kwargs... ) std (A; kwargs... , dims= dims)
1357
- @deprecate cov (X:: AbstractMatrix , dim:: Int ; kwargs... ) cov (X; kwargs... , dims= dim)
1358
- @deprecate cov (x:: AbstractVecOrMat , y:: AbstractVecOrMat , dim:: Int ; kwargs... ) cov (x, y; kwargs... , dims= dim)
1359
- @deprecate cor (X:: AbstractMatrix , dim:: Int ) cor (X, dims= dim)
1360
- @deprecate cor (x:: AbstractVecOrMat , y:: AbstractVecOrMat , dim:: Int ) cor (x, y, dims= dim)
1361
1348
@deprecate median (A:: AbstractArray , dims; kwargs... ) median (A; kwargs... , dims= dims)
1362
1349
1363
1350
@deprecate mapreducedim (f, op, A:: AbstractArray , dims) mapreduce (f, op, A, dims= dims)
@@ -1673,6 +1660,15 @@ end
1673
1660
@deprecate next (s:: AbstractString , i:: Integer ) iterate (s, i)
1674
1661
@deprecate done (s:: AbstractString , i:: Integer ) i > ncodeunits (s)
1675
1662
1663
+ # #27140, #27152
1664
+ @deprecate_moved cor " StatsBase"
1665
+ @deprecate_moved cov " StatsBase"
1666
+ @deprecate_moved std " StatsBase"
1667
+ @deprecate_moved stdm " StatsBase"
1668
+ @deprecate_moved var " StatsBase"
1669
+ @deprecate_moved varm " StatsBase"
1670
+ @deprecate_moved linreg " StatsBase"
1671
+
1676
1672
# issue #27093
1677
1673
# in src/jlfrontend.scm a call to `@deprecate` is generated for per-module `eval(m, x)`
1678
1674
@eval Core Main. Base. @deprecate (eval (e), Core. eval (Main, e))
0 commit comments