Package evaluation of PopGen on Julia 1.13.0-DEV.449 (8d6b63c3a6*) started at 2025-04-29T05:57:24.463 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 9.91s ################################################################################ # Installation # Installing PopGen... Resolving package versions... Installed IrrationalConstants ───────── v0.2.4 Installed Crayons ───────────────────── v4.1.1 Installed BioGenerics ───────────────── v0.1.5 Installed OnlineStatsBase ───────────── v1.7.1 Installed Rmath ─────────────────────── v0.8.0 Installed HypergeometricFunctions ───── v0.3.28 Installed PtrArrays ─────────────────── v1.3.0 Installed StatsFuns ─────────────────── v1.5.0 Installed Preferences ───────────────── v1.4.3 Installed Arpack_jll ────────────────── v3.5.1+1 Installed PrettyTables ──────────────── v2.4.0 Installed TableTraits ───────────────── v1.0.1 Installed NamedArrays ───────────────── v0.10.3 Installed SpecialFunctions ──────────── v2.5.1 Installed Clustering ────────────────── v0.15.8 Installed ProgressLogging ───────────── v0.1.4 Installed Parsers ───────────────────── v2.8.3 Installed SentinelArrays ────────────── v1.4.8 Installed Tables ────────────────────── v1.12.0 Installed PDMats ────────────────────── v0.11.34 Installed DataAPI ───────────────────── v1.16.0 Installed PooledArrays ──────────────── v1.4.3 Installed RecipesBase ───────────────── v1.3.4 Installed InlineStrings ─────────────── v1.4.3 Installed JLLWrappers ───────────────── v1.7.0 Installed StaticArrays ──────────────── v1.9.13 Installed StaticArraysCore ──────────── v1.4.3 Installed Highlights ────────────────── v0.5.3 Installed NearestNeighbors ──────────── v0.4.21 Installed IteratorInterfaceExtensions ─ v1.0.0 Installed BGZFStreams ───────────────── v0.3.2 Installed PrecompileTools ───────────── v1.3.2 Installed Term ──────────────────────── v2.0.7 Installed DataValueInterfaces ───────── v1.0.0 Installed AbstractTrees ─────────────── v0.4.5 Installed WorkerUtilities ───────────── v1.6.1 Installed OrderedCollections ────────── v1.8.0 Installed LaTeXStrings ──────────────── v1.4.0 Installed Arpack ────────────────────── v0.5.4 Installed TranscodingStreams ────────── v0.9.13 Installed Combinatorics ─────────────── v1.0.2 Installed InvertedIndices ───────────── v1.3.1 Installed DelimitedFiles ────────────── v1.9.1 Installed FilePathsBase ─────────────── v0.9.24 Installed MyterialColors ────────────── v0.3.0 Installed UnicodeFun ────────────────── v0.4.1 Installed CSV ───────────────────────── v0.10.15 Installed Reexport ──────────────────── v1.2.2 Installed FillArrays ────────────────── v1.13.0 Installed QuadGK ────────────────────── v2.11.2 Installed Rmath_jll ─────────────────── v0.5.1+0 Installed MultipleTesting ───────────── v0.5.1 Installed VariantCallFormat ─────────── v0.5.6 Installed PopGen ────────────────────── v0.9.5 Installed CodeTracking ──────────────── v1.3.9 Installed DataFrames ────────────────── v1.7.0 Installed Statistics ────────────────── v1.11.1 Installed WeakRefStrings ────────────── v1.4.2 Installed PopGenCore ────────────────── v0.7.2 Installed LogExpFunctions ───────────── v0.3.29 Installed DataStructures ────────────── v0.18.22 Installed Requires ──────────────────── v1.3.1 Installed AliasTables ───────────────── v1.1.3 Installed StatsAPI ──────────────────── v1.7.0 Installed BufferedStreams ───────────── v1.2.2 Installed Compat ────────────────────── v4.16.0 Installed OpenSpecFun_jll ───────────── v0.5.6+0 Installed UnPack ────────────────────── v1.0.2 Installed Distances ─────────────────── v0.10.12 Installed Parameters ────────────────── v0.12.3 Installed CodecZlib ─────────────────── v0.7.8 Installed Automa ────────────────────── v0.8.4 Installed Distributions ─────────────── v0.25.119 Installed Missings ──────────────────── v1.2.0 Installed StringManipulation ────────── v0.4.1 Installed SortingAlgorithms ─────────── v1.2.1 Installed MultivariateStats ─────────── v0.10.3 Installed StatsBase ─────────────────── v0.33.21 Installed OnlineStats ───────────────── v1.7.1 Installed DocStringExtensions ───────── v0.9.4 Installing 3 artifacts Installed artifact Rmath 121.9 KiB Installed artifact Arpack 147.2 KiB Installed artifact OpenSpecFun 194.9 KiB Updating `~/.julia/environments/v1.13/Project.toml` [af524d12] + PopGen v0.9.5 Updating `~/.julia/environments/v1.13/Manifest.toml` [1520ce14] + AbstractTrees v0.4.5 [66dad0bd] + AliasTables v1.1.3 [7d9fca2a] + Arpack v0.5.4 ⌅ [67c07d97] + Automa v0.8.4 [28d598bf] + BGZFStreams v0.3.2 [47718e42] + BioGenerics v0.1.5 [e1450e63] + BufferedStreams v1.2.2 [336ed68f] + CSV v0.10.15 [aaaa29a8] + Clustering v0.15.8 [da1fd8a2] + CodeTracking v1.3.9 [944b1d66] + CodecZlib v0.7.8 [861a8166] + Combinatorics v1.0.2 [34da2185] + Compat v4.16.0 [a8cc5b0e] + Crayons v4.1.1 [9a962f9c] + DataAPI v1.16.0 [a93c6f00] + DataFrames v1.7.0 [864edb3b] + DataStructures v0.18.22 [e2d170a0] + DataValueInterfaces v1.0.0 [8bb1440f] + DelimitedFiles v1.9.1 [b4f34e82] + Distances v0.10.12 [31c24e10] + Distributions v0.25.119 [ffbed154] + DocStringExtensions v0.9.4 [48062228] + FilePathsBase v0.9.24 [1a297f60] + FillArrays v1.13.0 [eafb193a] + Highlights v0.5.3 [34004b35] + HypergeometricFunctions v0.3.28 [842dd82b] + InlineStrings v1.4.3 [41ab1584] + InvertedIndices v1.3.1 [92d709cd] + IrrationalConstants v0.2.4 [82899510] + IteratorInterfaceExtensions v1.0.0 [692b3bcd] + JLLWrappers v1.7.0 [b964fa9f] + LaTeXStrings v1.4.0 [2ab3a3ac] + LogExpFunctions v0.3.29 [e1d29d7a] + Missings v1.2.0 ⌅ [f8716d33] + MultipleTesting v0.5.1 [6f286f6a] + MultivariateStats v0.10.3 [1c23619d] + MyterialColors v0.3.0 [86f7a689] + NamedArrays v0.10.3 [b8a86587] + NearestNeighbors v0.4.21 [a15396b6] + OnlineStats v1.7.1 [925886fa] + OnlineStatsBase v1.7.1 [bac558e1] + OrderedCollections v1.8.0 [90014a1f] + PDMats v0.11.34 [d96e819e] + Parameters v0.12.3 [69de0a69] + Parsers v2.8.3 [2dfb63ee] + PooledArrays v1.4.3 [af524d12] + PopGen v0.9.5 [45b36091] + PopGenCore v0.7.2 [aea7be01] + PrecompileTools v1.3.2 [21216c6a] + Preferences v1.4.3 [08abe8d2] + PrettyTables v2.4.0 [33c8b6b6] + ProgressLogging v0.1.4 [43287f4e] + PtrArrays v1.3.0 [1fd47b50] + QuadGK v2.11.2 [3cdcf5f2] + RecipesBase v1.3.4 [189a3867] + Reexport v1.2.2 [ae029012] + Requires v1.3.1 [79098fc4] + Rmath v0.8.0 [91c51154] + SentinelArrays v1.4.8 [a2af1166] + SortingAlgorithms v1.2.1 [276daf66] + SpecialFunctions v2.5.1 [90137ffa] + StaticArrays v1.9.13 [1e83bf80] + StaticArraysCore v1.4.3 [10745b16] + Statistics v1.11.1 [82ae8749] + StatsAPI v1.7.0 ⌅ [2913bbd2] + StatsBase v0.33.21 [4c63d2b9] + StatsFuns v1.5.0 [892a3eda] + StringManipulation v0.4.1 [3783bdb8] + TableTraits v1.0.1 [bd369af6] + Tables v1.12.0 [22787eb5] + Term v2.0.7 ⌅ [3bb67fe8] + TranscodingStreams v0.9.13 [3a884ed6] + UnPack v1.0.2 [1cfade01] + UnicodeFun v0.4.1 [28eba6e3] + VariantCallFormat v0.5.6 [ea10d353] + WeakRefStrings v1.4.2 [76eceee3] + WorkerUtilities v1.6.1 ⌅ [68821587] + Arpack_jll v3.5.1+1 [efe28fd5] + OpenSpecFun_jll v0.5.6+0 [f50d1b31] + Rmath_jll v0.5.1+0 [0dad84c5] + ArgTools v1.1.2 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [f43a241f] + Downloads v1.7.0 [7b1f6079] + FileWatching v1.11.0 [9fa8497b] + Future v1.11.0 [b77e0a4c] + InteractiveUtils v1.11.0 [ac6e5ff7] + JuliaSyntaxHighlighting v1.12.0 [b27032c2] + LibCURL v0.6.4 [76f85450] + LibGit2 v1.11.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.12.0 [56ddb016] + Logging v1.11.0 [d6f4376e] + Markdown v1.11.0 [a63ad114] + Mmap v1.11.0 [ca575930] + NetworkOptions v1.3.0 [44cfe95a] + Pkg v1.12.0 [de0858da] + Printf v1.11.0 [3fa0cd96] + REPL v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization v1.11.0 [6462fe0b] + Sockets v1.11.0 [2f01184e] + SparseArrays v1.12.0 [f489334b] + StyledStrings v1.11.0 [4607b0f0] + SuiteSparse [fa267f1f] + TOML v1.0.3 [a4e569a6] + Tar v1.10.0 [8dfed614] + Test v1.11.0 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [e66e0078] + CompilerSupportLibraries_jll v1.3.0+1 [deac9b47] + LibCURL_jll v8.12.1+1 [e37daf67] + LibGit2_jll v1.9.0+0 [29816b5a] + LibSSH2_jll v1.11.3+1 [14a3606d] + MozillaCACerts_jll v2024.12.31 [4536629a] + OpenBLAS_jll v0.3.29+0 [05823500] + OpenLibm_jll v0.8.5+0 [458c3c95] + OpenSSL_jll v3.0.16+0 [bea87d4a] + SuiteSparse_jll v7.10.1+0 [83775a58] + Zlib_jll v1.3.1+2 [8e850b90] + libblastrampoline_jll v5.12.0+0 [8e850ede] + nghttp2_jll v1.65.0+0 [3f19e933] + p7zip_jll v17.5.0+2 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m` Installation completed after 10.2s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling packages... 5518.2 ms ✓ TestEnv 1 dependency successfully precompiled in 6 seconds. 25 already precompiled. Precompiling package dependencies... Precompilation completed after 578.21s ################################################################################ # Testing # Testing PopGen Status `/tmp/jl_q7fZ6w/Project.toml` [aaaa29a8] Clustering v0.15.8 [a93c6f00] DataFrames v1.7.0 [b4f34e82] Distances v0.10.12 [31c24e10] Distributions v0.25.119 ⌅ [f8716d33] MultipleTesting v0.5.1 [6f286f6a] MultivariateStats v0.10.3 [2dfb63ee] PooledArrays v1.4.3 [af524d12] PopGen v0.9.5 [45b36091] PopGenCore v0.7.2 [92933f4c] ProgressMeter v1.10.4 [189a3867] Reexport v1.2.2 ⌅ [2913bbd2] StatsBase v0.33.21 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_q7fZ6w/Manifest.toml` [1520ce14] AbstractTrees v0.4.5 [66dad0bd] AliasTables v1.1.3 [7d9fca2a] Arpack v0.5.4 ⌅ [67c07d97] Automa v0.8.4 [28d598bf] BGZFStreams v0.3.2 [47718e42] BioGenerics v0.1.5 [e1450e63] BufferedStreams v1.2.2 [336ed68f] CSV v0.10.15 [aaaa29a8] Clustering v0.15.8 [da1fd8a2] CodeTracking v1.3.9 [944b1d66] CodecZlib v0.7.8 [861a8166] Combinatorics v1.0.2 [34da2185] Compat v4.16.0 [a8cc5b0e] Crayons v4.1.1 [9a962f9c] DataAPI v1.16.0 [a93c6f00] DataFrames v1.7.0 [864edb3b] DataStructures v0.18.22 [e2d170a0] DataValueInterfaces v1.0.0 [8bb1440f] DelimitedFiles v1.9.1 [b4f34e82] Distances v0.10.12 [31c24e10] Distributions v0.25.119 [ffbed154] DocStringExtensions v0.9.4 [48062228] FilePathsBase v0.9.24 [1a297f60] FillArrays v1.13.0 [eafb193a] Highlights v0.5.3 [34004b35] HypergeometricFunctions v0.3.28 [842dd82b] InlineStrings v1.4.3 [41ab1584] InvertedIndices v1.3.1 [92d709cd] IrrationalConstants v0.2.4 [82899510] IteratorInterfaceExtensions v1.0.0 [692b3bcd] JLLWrappers v1.7.0 [b964fa9f] LaTeXStrings v1.4.0 [2ab3a3ac] LogExpFunctions v0.3.29 [e1d29d7a] Missings v1.2.0 ⌅ [f8716d33] MultipleTesting v0.5.1 [6f286f6a] MultivariateStats v0.10.3 [1c23619d] MyterialColors v0.3.0 [86f7a689] NamedArrays v0.10.3 [b8a86587] NearestNeighbors v0.4.21 [a15396b6] OnlineStats v1.7.1 [925886fa] OnlineStatsBase v1.7.1 [bac558e1] OrderedCollections v1.8.0 [90014a1f] PDMats v0.11.34 [d96e819e] Parameters v0.12.3 [69de0a69] Parsers v2.8.3 [2dfb63ee] PooledArrays v1.4.3 [af524d12] PopGen v0.9.5 [45b36091] PopGenCore v0.7.2 [aea7be01] PrecompileTools v1.3.2 [21216c6a] Preferences v1.4.3 [08abe8d2] PrettyTables v2.4.0 [33c8b6b6] ProgressLogging v0.1.4 [92933f4c] ProgressMeter v1.10.4 [43287f4e] PtrArrays v1.3.0 [1fd47b50] QuadGK v2.11.2 [3cdcf5f2] RecipesBase v1.3.4 [189a3867] Reexport v1.2.2 [ae029012] Requires v1.3.1 [79098fc4] Rmath v0.8.0 [91c51154] SentinelArrays v1.4.8 [a2af1166] SortingAlgorithms v1.2.1 [276daf66] SpecialFunctions v2.5.1 [90137ffa] StaticArrays v1.9.13 [1e83bf80] StaticArraysCore v1.4.3 [10745b16] Statistics v1.11.1 [82ae8749] StatsAPI v1.7.0 ⌅ [2913bbd2] StatsBase v0.33.21 [4c63d2b9] StatsFuns v1.5.0 [892a3eda] StringManipulation v0.4.1 [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.12.0 [22787eb5] Term v2.0.7 ⌅ [3bb67fe8] TranscodingStreams v0.9.13 [3a884ed6] UnPack v1.0.2 [1cfade01] UnicodeFun v0.4.1 [28eba6e3] VariantCallFormat v0.5.6 [ea10d353] WeakRefStrings v1.4.2 [76eceee3] WorkerUtilities v1.6.1 ⌅ [68821587] Arpack_jll v3.5.1+1 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [f50d1b31] Rmath_jll v0.5.1+0 [0dad84c5] ArgTools v1.1.2 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [8ba89e20] Distributed v1.11.0 [f43a241f] Downloads v1.7.0 [7b1f6079] FileWatching v1.11.0 [9fa8497b] Future v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.12.0 [b27032c2] LibCURL v0.6.4 [76f85450] LibGit2 v1.11.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.12.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [a63ad114] Mmap v1.11.0 [ca575930] NetworkOptions v1.3.0 [44cfe95a] Pkg v1.12.0 [de0858da] Printf v1.11.0 [3fa0cd96] REPL v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [6462fe0b] Sockets v1.11.0 [2f01184e] SparseArrays v1.12.0 [f489334b] StyledStrings v1.11.0 [4607b0f0] SuiteSparse [fa267f1f] TOML v1.0.3 [a4e569a6] Tar v1.10.0 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [e66e0078] CompilerSupportLibraries_jll v1.3.0+1 [deac9b47] LibCURL_jll v8.12.1+1 [e37daf67] LibGit2_jll v1.9.0+0 [29816b5a] LibSSH2_jll v1.11.3+1 [14a3606d] MozillaCACerts_jll v2024.12.31 [4536629a] OpenBLAS_jll v0.3.29+0 [05823500] OpenLibm_jll v0.8.5+0 [458c3c95] OpenSSL_jll v3.0.16+0 [bea87d4a] SuiteSparse_jll v7.10.1+0 [83775a58] Zlib_jll v1.3.1+2 [8e850b90] libblastrampoline_jll v5.12.0+0 [8e850ede] nghttp2_jll v1.65.0+0 [3f19e933] p7zip_jll v17.5.0+2 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... Running tests: PASSED: dataexploration.jl PASSED: summaryinfo.jl PASSED: heterozygosity.jl PASSED: hardyweinberg.jl k-means: Error During Test at /home/pkgeval/.julia/packages/PopGen/UXFCN/test/clustering.jl:13 Test threw exception Expression: kmeans(cats, k = 2) isa Clustering.KmeansResult MethodError: no method matching mapreduce_impl(::Statistics.var"#centralizedabs2fun##0#centralizedabs2fun##1"{Float64}, ::typeof(+), ::Matrix{Float64}, ::Int64, ::Int64) The function `mapreduce_impl` exists, but no method is defined for this combination of argument types. Closest candidates are: mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer, !Matched::Int64) @ Base reduce.jl:263 mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:286 mapreduce_impl(::Any, !Matched::Union{typeof(max), typeof(min)}, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:649 ... Stacktrace: [1] centralize_sumabs2(A::Matrix{Float64}, m::Float64, ifirst::Int64, ilast::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:257 [2] centralize_sumabs2!(R::Matrix{Float64}, A::Matrix{Float64}, means::Matrix{Float64}) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:275 [3] varm!(R::Matrix{Float64}, A::Matrix{Float64}, m::Matrix{Float64}; corrected::Bool) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:309 [4] varm! @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:304 [inlined] [5] _varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:341 [inlined] [6] varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:339 [inlined] [7] _var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:386 [inlined] [8] var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:380 [inlined] [9] _std(A::Matrix{Float64}, corrected::Bool, mean::Matrix{Float64}, dims::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:469 [10] std @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:461 [inlined] [11] #mean_and_std#28 @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:142 [inlined] [12] mean_and_std @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:140 [inlined] [13] fit(::Type{StatsBase.ZScoreTransform}, X::Matrix{Float64}; dims::Int64, center::Bool, scale::Bool) @ StatsBase ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:0 [14] fit @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:109 [inlined] [15] #standardize#232 @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:367 [inlined] [16] matrix(data::PopData, matrixtype::String; missings::String, scale::Bool, center::Bool) @ PopGenCore ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:65 [17] matrix (repeats 2 times) @ ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:58 [inlined] [18] pca(data::PopData; maxpc::Int64, method::Symbol, missings::String, pratio::Float64, center::Bool, scale::Bool) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/PCA.jl:23 [19] pca @ ~/.julia/packages/PopGen/UXFCN/src/PCA.jl:21 [inlined] [20] kmeans(data::PopData; k::Int64, iterations::Int64, matrixtype::Symbol) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/Clustering.jl:26 [21] top-level scope @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:12 [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [23] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:13 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [25] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:13 [inlined] [26] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:728 [inlined] k-means: Error During Test at /home/pkgeval/.julia/packages/PopGen/UXFCN/test/clustering.jl:14 Test threw exception Expression: kmeans(cats, k = 2, matrixtype = :freq) isa Clustering.KmeansResult MethodError: no method matching mapreduce_impl(::Statistics.var"#centralizedabs2fun##0#centralizedabs2fun##1"{Float64}, ::typeof(+), ::Matrix{Float64}, ::Int64, ::Int64) The function `mapreduce_impl` exists, but no method is defined for this combination of argument types. Closest candidates are: mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer, !Matched::Int64) @ Base reduce.jl:263 mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:286 mapreduce_impl(::Any, !Matched::Union{typeof(max), typeof(min)}, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:649 ... Stacktrace: [1] centralize_sumabs2(A::Matrix{Float64}, m::Float64, ifirst::Int64, ilast::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:257 [2] centralize_sumabs2!(R::Matrix{Float64}, A::Matrix{Float64}, means::Matrix{Float64}) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:275 [3] varm!(R::Matrix{Float64}, A::Matrix{Float64}, m::Matrix{Float64}; corrected::Bool) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:309 [4] varm! @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:304 [inlined] [5] _varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:341 [inlined] [6] varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:339 [inlined] [7] _var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:386 [inlined] [8] var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:380 [inlined] [9] _std(A::Matrix{Float64}, corrected::Bool, mean::Matrix{Float64}, dims::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:469 [10] std @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:461 [inlined] [11] #mean_and_std#28 @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:142 [inlined] [12] mean_and_std @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:140 [inlined] [13] fit(::Type{StatsBase.ZScoreTransform}, X::Matrix{Float64}; dims::Int64, center::Bool, scale::Bool) @ StatsBase ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:0 [14] fit @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:109 [inlined] [15] #standardize#232 @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:367 [inlined] [16] matrix(data::PopData, matrixtype::String; missings::String, scale::Bool, center::Bool) @ PopGenCore ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:65 [17] matrix (repeats 2 times) @ ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:58 [inlined] [18] kmeans(data::PopData; k::Int64, iterations::Int64, matrixtype::Symbol) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/Clustering.jl:26 [19] top-level scope @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:12 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [21] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:13 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [23] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:14 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:728 [inlined] k-means: Error During Test at /home/pkgeval/.julia/packages/PopGen/UXFCN/test/clustering.jl:15 Test threw exception Expression: kmeans(cats, k = 2, iterations = 30) isa Clustering.KmeansResult MethodError: no method matching mapreduce_impl(::Statistics.var"#centralizedabs2fun##0#centralizedabs2fun##1"{Float64}, ::typeof(+), ::Matrix{Float64}, ::Int64, ::Int64) The function `mapreduce_impl` exists, but no method is defined for this combination of argument types. Closest candidates are: mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer, !Matched::Int64) @ Base reduce.jl:263 mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:286 mapreduce_impl(::Any, !Matched::Union{typeof(max), typeof(min)}, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:649 ... Stacktrace: [1] centralize_sumabs2(A::Matrix{Float64}, m::Float64, ifirst::Int64, ilast::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:257 [2] centralize_sumabs2!(R::Matrix{Float64}, A::Matrix{Float64}, means::Matrix{Float64}) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:275 [3] varm!(R::Matrix{Float64}, A::Matrix{Float64}, m::Matrix{Float64}; corrected::Bool) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:309 [4] varm! @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:304 [inlined] [5] _varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:341 [inlined] [6] varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:339 [inlined] [7] _var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:386 [inlined] [8] var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:380 [inlined] [9] _std(A::Matrix{Float64}, corrected::Bool, mean::Matrix{Float64}, dims::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:469 [10] std @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:461 [inlined] [11] #mean_and_std#28 @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:142 [inlined] [12] mean_and_std @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:140 [inlined] [13] fit(::Type{StatsBase.ZScoreTransform}, X::Matrix{Float64}; dims::Int64, center::Bool, scale::Bool) @ StatsBase ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:0 [14] fit @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:109 [inlined] [15] #standardize#232 @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:367 [inlined] [16] matrix(data::PopData, matrixtype::String; missings::String, scale::Bool, center::Bool) @ PopGenCore ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:65 [17] matrix (repeats 2 times) @ ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:58 [inlined] [18] pca(data::PopData; maxpc::Int64, method::Symbol, missings::String, pratio::Float64, center::Bool, scale::Bool) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/PCA.jl:23 [19] pca @ ~/.julia/packages/PopGen/UXFCN/src/PCA.jl:21 [inlined] [20] kmeans(data::PopData; k::Int64, iterations::Int64, matrixtype::Symbol) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/Clustering.jl:26 [21] top-level scope @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:12 [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [23] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:13 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [25] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:15 [inlined] [26] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:728 [inlined] k-medoids: Error During Test at /home/pkgeval/.julia/packages/PopGen/UXFCN/test/clustering.jl:19 Test threw exception Expression: kmedoids(cats, k = 2) isa Clustering.KmedoidsResult MethodError: no method matching mapreduce_impl(::Statistics.var"#centralizedabs2fun##0#centralizedabs2fun##1"{Float64}, ::typeof(+), ::Matrix{Float64}, ::Int64, ::Int64) The function `mapreduce_impl` exists, but no method is defined for this combination of argument types. Closest candidates are: mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer, !Matched::Int64) @ Base reduce.jl:263 mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:286 mapreduce_impl(::Any, !Matched::Union{typeof(max), typeof(min)}, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:649 ... Stacktrace: [1] centralize_sumabs2(A::Matrix{Float64}, m::Float64, ifirst::Int64, ilast::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:257 [2] centralize_sumabs2!(R::Matrix{Float64}, A::Matrix{Float64}, means::Matrix{Float64}) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:275 [3] varm!(R::Matrix{Float64}, A::Matrix{Float64}, m::Matrix{Float64}; corrected::Bool) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:309 [4] varm! @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:304 [inlined] [5] _varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:341 [inlined] [6] varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:339 [inlined] [7] _var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:386 [inlined] [8] var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:380 [inlined] [9] _std(A::Matrix{Float64}, corrected::Bool, mean::Matrix{Float64}, dims::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:469 [10] std @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:461 [inlined] [11] #mean_and_std#28 @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:142 [inlined] [12] mean_and_std @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:140 [inlined] [13] fit(::Type{StatsBase.ZScoreTransform}, X::Matrix{Float64}; dims::Int64, center::Bool, scale::Bool) @ StatsBase ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:0 [14] fit @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:109 [inlined] [15] #standardize#232 @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:367 [inlined] [16] matrix(data::PopData, matrixtype::String; missings::String, scale::Bool, center::Bool) @ PopGenCore ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:65 [17] matrix (repeats 2 times) @ ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:58 [inlined] [18] pca(data::PopData; maxpc::Int64, method::Symbol, missings::String, pratio::Float64, center::Bool, scale::Bool) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/PCA.jl:23 [19] pca @ ~/.julia/packages/PopGen/UXFCN/src/PCA.jl:21 [inlined] [20] kmedoids(data::PopData; k::Int64, iterations::Int64, distance::Distances.Euclidean, matrixtype::Symbol) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/Clustering.jl:52 [21] top-level scope @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:12 [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [23] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:19 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [25] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:19 [inlined] [26] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:728 [inlined] k-medoids: Error During Test at /home/pkgeval/.julia/packages/PopGen/UXFCN/test/clustering.jl:20 Test threw exception Expression: kmedoids(cats, k = 2, distance = sqeuclidean) isa Clustering.KmedoidsResult MethodError: no method matching mapreduce_impl(::Statistics.var"#centralizedabs2fun##0#centralizedabs2fun##1"{Float64}, ::typeof(+), ::Matrix{Float64}, ::Int64, ::Int64) The function `mapreduce_impl` exists, but no method is defined for this combination of argument types. Closest candidates are: mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer, !Matched::Int64) @ Base reduce.jl:263 mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:286 mapreduce_impl(::Any, !Matched::Union{typeof(max), typeof(min)}, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:649 ... Stacktrace: [1] centralize_sumabs2(A::Matrix{Float64}, m::Float64, ifirst::Int64, ilast::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:257 [2] centralize_sumabs2!(R::Matrix{Float64}, A::Matrix{Float64}, means::Matrix{Float64}) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:275 [3] varm!(R::Matrix{Float64}, A::Matrix{Float64}, m::Matrix{Float64}; corrected::Bool) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:309 [4] varm! @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:304 [inlined] [5] _varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:341 [inlined] [6] varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:339 [inlined] [7] _var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:386 [inlined] [8] var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:380 [inlined] [9] _std(A::Matrix{Float64}, corrected::Bool, mean::Matrix{Float64}, dims::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:469 [10] std @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:461 [inlined] [11] #mean_and_std#28 @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:142 [inlined] [12] mean_and_std @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:140 [inlined] [13] fit(::Type{StatsBase.ZScoreTransform}, X::Matrix{Float64}; dims::Int64, center::Bool, scale::Bool) @ StatsBase ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:0 [14] fit @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:109 [inlined] [15] #standardize#232 @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:367 [inlined] [16] matrix(data::PopData, matrixtype::String; missings::String, scale::Bool, center::Bool) @ PopGenCore ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:65 [17] matrix (repeats 2 times) @ ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:58 [inlined] [18] pca(data::PopData; maxpc::Int64, method::Symbol, missings::String, pratio::Float64, center::Bool, scale::Bool) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/PCA.jl:23 [19] pca @ ~/.julia/packages/PopGen/UXFCN/src/PCA.jl:21 [inlined] [20] kmedoids(data::PopData; k::Int64, iterations::Int64, distance::Distances.SqEuclidean, matrixtype::Symbol) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/Clustering.jl:52 [21] top-level scope @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:12 [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [23] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:19 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [25] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:20 [inlined] [26] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:728 [inlined] k-medoids: Error During Test at /home/pkgeval/.julia/packages/PopGen/UXFCN/test/clustering.jl:21 Test threw exception Expression: kmedoids(cats, k = 2, distance = sqeuclidean, matrixtype = :freq) isa Clustering.KmedoidsResult MethodError: no method matching mapreduce_impl(::Statistics.var"#centralizedabs2fun##0#centralizedabs2fun##1"{Float64}, ::typeof(+), ::Matrix{Float64}, ::Int64, ::Int64) The function `mapreduce_impl` exists, but no method is defined for this combination of argument types. Closest candidates are: mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer, !Matched::Int64) @ Base reduce.jl:263 mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:286 mapreduce_impl(::Any, !Matched::Union{typeof(max), typeof(min)}, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:649 ... Stacktrace: [1] centralize_sumabs2(A::Matrix{Float64}, m::Float64, ifirst::Int64, ilast::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:257 [2] centralize_sumabs2!(R::Matrix{Float64}, A::Matrix{Float64}, means::Matrix{Float64}) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:275 [3] varm!(R::Matrix{Float64}, A::Matrix{Float64}, m::Matrix{Float64}; corrected::Bool) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:309 [4] varm! @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:304 [inlined] [5] _varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:341 [inlined] [6] varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:339 [inlined] [7] _var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:386 [inlined] [8] var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:380 [inlined] [9] _std(A::Matrix{Float64}, corrected::Bool, mean::Matrix{Float64}, dims::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:469 [10] std @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:461 [inlined] [11] #mean_and_std#28 @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:142 [inlined] [12] mean_and_std @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:140 [inlined] [13] fit(::Type{StatsBase.ZScoreTransform}, X::Matrix{Float64}; dims::Int64, center::Bool, scale::Bool) @ StatsBase ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:0 [14] fit @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:109 [inlined] [15] #standardize#232 @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:367 [inlined] [16] matrix(data::PopData, matrixtype::String; missings::String, scale::Bool, center::Bool) @ PopGenCore ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:65 [17] matrix (repeats 2 times) @ ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:58 [inlined] [18] kmedoids(data::PopData; k::Int64, iterations::Int64, distance::Distances.SqEuclidean, matrixtype::Symbol) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/Clustering.jl:52 [19] top-level scope @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:12 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [21] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:19 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [23] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:21 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:728 [inlined] h-clust: Error During Test at /home/pkgeval/.julia/packages/PopGen/UXFCN/test/clustering.jl:24 Got exception outside of a @test MethodError: no method matching mapreduce_impl(::Statistics.var"#centralizedabs2fun##0#centralizedabs2fun##1"{Float64}, ::typeof(+), ::Matrix{Float64}, ::Int64, ::Int64) The function `mapreduce_impl` exists, but no method is defined for this combination of argument types. Closest candidates are: mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer, !Matched::Int64) @ Base reduce.jl:263 mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:286 mapreduce_impl(::Any, !Matched::Union{typeof(max), typeof(min)}, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:649 ... Stacktrace: [1] centralize_sumabs2(A::Matrix{Float64}, m::Float64, ifirst::Int64, ilast::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:257 [2] centralize_sumabs2!(R::Matrix{Float64}, A::Matrix{Float64}, means::Matrix{Float64}) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:275 [3] varm!(R::Matrix{Float64}, A::Matrix{Float64}, m::Matrix{Float64}; corrected::Bool) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:309 [4] varm! @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:304 [inlined] [5] _varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:341 [inlined] [6] varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:339 [inlined] [7] _var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:386 [inlined] [8] var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:380 [inlined] [9] _std(A::Matrix{Float64}, corrected::Bool, mean::Matrix{Float64}, dims::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:469 [10] std @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:461 [inlined] [11] #mean_and_std#28 @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:142 [inlined] [12] mean_and_std @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:140 [inlined] [13] fit(::Type{StatsBase.ZScoreTransform}, X::Matrix{Float64}; dims::Int64, center::Bool, scale::Bool) @ StatsBase ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:0 [14] fit @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:109 [inlined] [15] #standardize#232 @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:367 [inlined] [16] matrix(data::PopData, matrixtype::String; missings::String, scale::Bool, center::Bool) @ PopGenCore ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:65 [17] matrix (repeats 2 times) @ ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:58 [inlined] [18] pca(data::PopData; maxpc::Int64, method::Symbol, missings::String, pratio::Float64, center::Bool, scale::Bool) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/PCA.jl:23 [19] pca @ ~/.julia/packages/PopGen/UXFCN/src/PCA.jl:21 [inlined] [20] hclust(data::PopData; linkage::Symbol, branchorder::Symbol, distance::Distances.Euclidean, matrixtype::Symbol) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/Clustering.jl:85 [21] hclust(data::PopData) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/Clustering.jl:84 [22] top-level scope @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:12 [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [24] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:25 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [26] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:25 [inlined] [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:304 [28] top-level scope @ ~/.julia/packages/PopGen/UXFCN/test/runtests.jl:19 [29] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [30] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/runtests.jl:21 [inlined] [31] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:304 [32] top-level scope @ none:6 [33] eval(m::Module, e::Any) @ Core ./boot.jl:489 [34] exec_options(opts::Base.JLOptions) @ Base ./client.jl:297 [35] _start() @ Base ./client.jl:563 fuzzy-c: Error During Test at /home/pkgeval/.julia/packages/PopGen/UXFCN/test/clustering.jl:33 Test threw exception Expression: fuzzycmeans(cats, c = 2) isa FuzzyCMeansResult MethodError: no method matching mapreduce_impl(::Statistics.var"#centralizedabs2fun##0#centralizedabs2fun##1"{Float64}, ::typeof(+), ::Matrix{Float64}, ::Int64, ::Int64) The function `mapreduce_impl` exists, but no method is defined for this combination of argument types. Closest candidates are: mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer, !Matched::Int64) @ Base reduce.jl:263 mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:286 mapreduce_impl(::Any, !Matched::Union{typeof(max), typeof(min)}, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:649 ... Stacktrace: [1] centralize_sumabs2(A::Matrix{Float64}, m::Float64, ifirst::Int64, ilast::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:257 [2] centralize_sumabs2!(R::Matrix{Float64}, A::Matrix{Float64}, means::Matrix{Float64}) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:275 [3] varm!(R::Matrix{Float64}, A::Matrix{Float64}, m::Matrix{Float64}; corrected::Bool) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:309 [4] varm! @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:304 [inlined] [5] _varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:341 [inlined] [6] varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:339 [inlined] [7] _var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:386 [inlined] [8] var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:380 [inlined] [9] _std(A::Matrix{Float64}, corrected::Bool, mean::Matrix{Float64}, dims::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:469 [10] std @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:461 [inlined] [11] #mean_and_std#28 @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:142 [inlined] [12] mean_and_std @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:140 [inlined] [13] fit(::Type{StatsBase.ZScoreTransform}, X::Matrix{Float64}; dims::Int64, center::Bool, scale::Bool) @ StatsBase ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:0 [14] fit @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:109 [inlined] [15] #standardize#232 @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:367 [inlined] [16] matrix(data::PopData, matrixtype::String; missings::String, scale::Bool, center::Bool) @ PopGenCore ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:65 [17] matrix (repeats 2 times) @ ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:58 [inlined] [18] pca(data::PopData; maxpc::Int64, method::Symbol, missings::String, pratio::Float64, center::Bool, scale::Bool) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/PCA.jl:23 [19] pca @ ~/.julia/packages/PopGen/UXFCN/src/PCA.jl:21 [inlined] [20] fuzzycmeans(data::PopData; c::Int64, fuzziness::Int64, iterations::Int64, matrixtype::Symbol) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/Clustering.jl:129 [21] top-level scope @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:12 [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [23] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:33 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [25] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:33 [inlined] [26] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:728 [inlined] fuzzy-c: Error During Test at /home/pkgeval/.julia/packages/PopGen/UXFCN/test/clustering.jl:34 Test threw exception Expression: fuzzycmeans(cats, c = 2, fuzziness = 3) isa FuzzyCMeansResult MethodError: no method matching mapreduce_impl(::Statistics.var"#centralizedabs2fun##0#centralizedabs2fun##1"{Float64}, ::typeof(+), ::Matrix{Float64}, ::Int64, ::Int64) The function `mapreduce_impl` exists, but no method is defined for this combination of argument types. Closest candidates are: mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer, !Matched::Int64) @ Base reduce.jl:263 mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:286 mapreduce_impl(::Any, !Matched::Union{typeof(max), typeof(min)}, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:649 ... Stacktrace: [1] centralize_sumabs2(A::Matrix{Float64}, m::Float64, ifirst::Int64, ilast::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:257 [2] centralize_sumabs2!(R::Matrix{Float64}, A::Matrix{Float64}, means::Matrix{Float64}) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:275 [3] varm!(R::Matrix{Float64}, A::Matrix{Float64}, m::Matrix{Float64}; corrected::Bool) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:309 [4] varm! @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:304 [inlined] [5] _varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:341 [inlined] [6] varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:339 [inlined] [7] _var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:386 [inlined] [8] var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:380 [inlined] [9] _std(A::Matrix{Float64}, corrected::Bool, mean::Matrix{Float64}, dims::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:469 [10] std @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:461 [inlined] [11] #mean_and_std#28 @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:142 [inlined] [12] mean_and_std @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:140 [inlined] [13] fit(::Type{StatsBase.ZScoreTransform}, X::Matrix{Float64}; dims::Int64, center::Bool, scale::Bool) @ StatsBase ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:0 [14] fit @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:109 [inlined] [15] #standardize#232 @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:367 [inlined] [16] matrix(data::PopData, matrixtype::String; missings::String, scale::Bool, center::Bool) @ PopGenCore ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:65 [17] matrix (repeats 2 times) @ ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:58 [inlined] [18] pca(data::PopData; maxpc::Int64, method::Symbol, missings::String, pratio::Float64, center::Bool, scale::Bool) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/PCA.jl:23 [19] pca @ ~/.julia/packages/PopGen/UXFCN/src/PCA.jl:21 [inlined] [20] fuzzycmeans(data::PopData; c::Int64, fuzziness::Int64, iterations::Int64, matrixtype::Symbol) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/Clustering.jl:129 [21] top-level scope @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:12 [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [23] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:33 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [25] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:34 [inlined] [26] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:728 [inlined] fuzzy-c: Error During Test at /home/pkgeval/.julia/packages/PopGen/UXFCN/test/clustering.jl:35 Test threw exception Expression: fuzzycmeans(cats, c = 2, iterations = 30) isa FuzzyCMeansResult MethodError: no method matching mapreduce_impl(::Statistics.var"#centralizedabs2fun##0#centralizedabs2fun##1"{Float64}, ::typeof(+), ::Matrix{Float64}, ::Int64, ::Int64) The function `mapreduce_impl` exists, but no method is defined for this combination of argument types. Closest candidates are: mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer, !Matched::Int64) @ Base reduce.jl:263 mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:286 mapreduce_impl(::Any, !Matched::Union{typeof(max), typeof(min)}, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:649 ... Stacktrace: [1] centralize_sumabs2(A::Matrix{Float64}, m::Float64, ifirst::Int64, ilast::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:257 [2] centralize_sumabs2!(R::Matrix{Float64}, A::Matrix{Float64}, means::Matrix{Float64}) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:275 [3] varm!(R::Matrix{Float64}, A::Matrix{Float64}, m::Matrix{Float64}; corrected::Bool) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:309 [4] varm! @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:304 [inlined] [5] _varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:341 [inlined] [6] varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:339 [inlined] [7] _var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:386 [inlined] [8] var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:380 [inlined] [9] _std(A::Matrix{Float64}, corrected::Bool, mean::Matrix{Float64}, dims::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:469 [10] std @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:461 [inlined] [11] #mean_and_std#28 @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:142 [inlined] [12] mean_and_std @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:140 [inlined] [13] fit(::Type{StatsBase.ZScoreTransform}, X::Matrix{Float64}; dims::Int64, center::Bool, scale::Bool) @ StatsBase ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:0 [14] fit @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:109 [inlined] [15] #standardize#232 @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:367 [inlined] [16] matrix(data::PopData, matrixtype::String; missings::String, scale::Bool, center::Bool) @ PopGenCore ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:65 [17] matrix (repeats 2 times) @ ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:58 [inlined] [18] pca(data::PopData; maxpc::Int64, method::Symbol, missings::String, pratio::Float64, center::Bool, scale::Bool) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/PCA.jl:23 [19] pca @ ~/.julia/packages/PopGen/UXFCN/src/PCA.jl:21 [inlined] [20] fuzzycmeans(data::PopData; c::Int64, fuzziness::Int64, iterations::Int64, matrixtype::Symbol) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/Clustering.jl:129 [21] top-level scope @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:12 [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [23] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:33 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [25] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:35 [inlined] [26] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:728 [inlined] fuzzy-c: Error During Test at /home/pkgeval/.julia/packages/PopGen/UXFCN/test/clustering.jl:36 Test threw exception Expression: fuzzycmeans(cats, c = 2, matrixtype = :freq) isa FuzzyCMeansResult MethodError: no method matching mapreduce_impl(::Statistics.var"#centralizedabs2fun##0#centralizedabs2fun##1"{Float64}, ::typeof(+), ::Matrix{Float64}, ::Int64, ::Int64) The function `mapreduce_impl` exists, but no method is defined for this combination of argument types. Closest candidates are: mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer, !Matched::Int64) @ Base reduce.jl:263 mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:286 mapreduce_impl(::Any, !Matched::Union{typeof(max), typeof(min)}, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:649 ... Stacktrace: [1] centralize_sumabs2(A::Matrix{Float64}, m::Float64, ifirst::Int64, ilast::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:257 [2] centralize_sumabs2!(R::Matrix{Float64}, A::Matrix{Float64}, means::Matrix{Float64}) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:275 [3] varm!(R::Matrix{Float64}, A::Matrix{Float64}, m::Matrix{Float64}; corrected::Bool) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:309 [4] varm! @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:304 [inlined] [5] _varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:341 [inlined] [6] varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:339 [inlined] [7] _var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:386 [inlined] [8] var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:380 [inlined] [9] _std(A::Matrix{Float64}, corrected::Bool, mean::Matrix{Float64}, dims::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:469 [10] std @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:461 [inlined] [11] #mean_and_std#28 @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:142 [inlined] [12] mean_and_std @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:140 [inlined] [13] fit(::Type{StatsBase.ZScoreTransform}, X::Matrix{Float64}; dims::Int64, center::Bool, scale::Bool) @ StatsBase ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:0 [14] fit @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:109 [inlined] [15] #standardize#232 @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:367 [inlined] [16] matrix(data::PopData, matrixtype::String; missings::String, scale::Bool, center::Bool) @ PopGenCore ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:65 [17] matrix (repeats 2 times) @ ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:58 [inlined] [18] fuzzycmeans(data::PopData; c::Int64, fuzziness::Int64, iterations::Int64, matrixtype::Symbol) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/Clustering.jl:129 [19] top-level scope @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:12 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [21] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:33 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [23] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:36 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:728 [inlined] dbscan: Error During Test at /home/pkgeval/.julia/packages/PopGen/UXFCN/test/clustering.jl:40 Test threw exception Expression: dbscan(cats, radius = 0.5, minpoints = 2) isa DbscanResult MethodError: no method matching mapreduce_impl(::Statistics.var"#centralizedabs2fun##0#centralizedabs2fun##1"{Float64}, ::typeof(+), ::Matrix{Float64}, ::Int64, ::Int64) The function `mapreduce_impl` exists, but no method is defined for this combination of argument types. Closest candidates are: mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer, !Matched::Int64) @ Base reduce.jl:263 mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:286 mapreduce_impl(::Any, !Matched::Union{typeof(max), typeof(min)}, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:649 ... Stacktrace: [1] centralize_sumabs2(A::Matrix{Float64}, m::Float64, ifirst::Int64, ilast::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:257 [2] centralize_sumabs2!(R::Matrix{Float64}, A::Matrix{Float64}, means::Matrix{Float64}) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:275 [3] varm!(R::Matrix{Float64}, A::Matrix{Float64}, m::Matrix{Float64}; corrected::Bool) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:309 [4] varm! @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:304 [inlined] [5] _varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:341 [inlined] [6] varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:339 [inlined] [7] _var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:386 [inlined] [8] var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:380 [inlined] [9] _std(A::Matrix{Float64}, corrected::Bool, mean::Matrix{Float64}, dims::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:469 [10] std @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:461 [inlined] [11] #mean_and_std#28 @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:142 [inlined] [12] mean_and_std @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:140 [inlined] [13] fit(::Type{StatsBase.ZScoreTransform}, X::Matrix{Float64}; dims::Int64, center::Bool, scale::Bool) @ StatsBase ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:0 [14] fit @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:109 [inlined] [15] #standardize#232 @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:367 [inlined] [16] matrix(data::PopData, matrixtype::String; missings::String, scale::Bool, center::Bool) @ PopGenCore ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:65 [17] matrix (repeats 2 times) @ ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:58 [inlined] [18] pca(data::PopData; maxpc::Int64, method::Symbol, missings::String, pratio::Float64, center::Bool, scale::Bool) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/PCA.jl:23 [19] pca @ ~/.julia/packages/PopGen/UXFCN/src/PCA.jl:21 [inlined] [20] dbscan(data::PopData; radius::Float64, minpoints::Int64, distance::Distances.Euclidean, matrixtype::Symbol) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/Clustering.jl:154 [21] top-level scope @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:12 [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [23] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:40 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [25] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:40 [inlined] [26] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:728 [inlined] dbscan: Error During Test at /home/pkgeval/.julia/packages/PopGen/UXFCN/test/clustering.jl:41 Test threw exception Expression: dbscan(cats, radius = 0.5, minpoints = 2, distance = sqeuclidean) isa DbscanResult MethodError: no method matching mapreduce_impl(::Statistics.var"#centralizedabs2fun##0#centralizedabs2fun##1"{Float64}, ::typeof(+), ::Matrix{Float64}, ::Int64, ::Int64) The function `mapreduce_impl` exists, but no method is defined for this combination of argument types. Closest candidates are: mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer, !Matched::Int64) @ Base reduce.jl:263 mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:286 mapreduce_impl(::Any, !Matched::Union{typeof(max), typeof(min)}, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:649 ... Stacktrace: [1] centralize_sumabs2(A::Matrix{Float64}, m::Float64, ifirst::Int64, ilast::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:257 [2] centralize_sumabs2!(R::Matrix{Float64}, A::Matrix{Float64}, means::Matrix{Float64}) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:275 [3] varm!(R::Matrix{Float64}, A::Matrix{Float64}, m::Matrix{Float64}; corrected::Bool) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:309 [4] varm! @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:304 [inlined] [5] _varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:341 [inlined] [6] varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:339 [inlined] [7] _var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:386 [inlined] [8] var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:380 [inlined] [9] _std(A::Matrix{Float64}, corrected::Bool, mean::Matrix{Float64}, dims::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:469 [10] std @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:461 [inlined] [11] #mean_and_std#28 @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:142 [inlined] [12] mean_and_std @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:140 [inlined] [13] fit(::Type{StatsBase.ZScoreTransform}, X::Matrix{Float64}; dims::Int64, center::Bool, scale::Bool) @ StatsBase ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:0 [14] fit @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:109 [inlined] [15] #standardize#232 @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:367 [inlined] [16] matrix(data::PopData, matrixtype::String; missings::String, scale::Bool, center::Bool) @ PopGenCore ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:65 [17] matrix (repeats 2 times) @ ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:58 [inlined] [18] pca(data::PopData; maxpc::Int64, method::Symbol, missings::String, pratio::Float64, center::Bool, scale::Bool) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/PCA.jl:23 [19] pca @ ~/.julia/packages/PopGen/UXFCN/src/PCA.jl:21 [inlined] [20] dbscan(data::PopData; radius::Float64, minpoints::Int64, distance::Distances.SqEuclidean, matrixtype::Symbol) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/Clustering.jl:154 [21] top-level scope @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:12 [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [23] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:40 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [25] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:41 [inlined] [26] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:728 [inlined] dbscan: Error During Test at /home/pkgeval/.julia/packages/PopGen/UXFCN/test/clustering.jl:42 Test threw exception Expression: dbscan(cats, radius = 0.5, matrixtype = :freq) isa DbscanResult MethodError: no method matching mapreduce_impl(::Statistics.var"#centralizedabs2fun##0#centralizedabs2fun##1"{Float64}, ::typeof(+), ::Matrix{Float64}, ::Int64, ::Int64) The function `mapreduce_impl` exists, but no method is defined for this combination of argument types. Closest candidates are: mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer, !Matched::Int64) @ Base reduce.jl:263 mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:286 mapreduce_impl(::Any, !Matched::Union{typeof(max), typeof(min)}, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:649 ... Stacktrace: [1] centralize_sumabs2(A::Matrix{Float64}, m::Float64, ifirst::Int64, ilast::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:257 [2] centralize_sumabs2!(R::Matrix{Float64}, A::Matrix{Float64}, means::Matrix{Float64}) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:275 [3] varm!(R::Matrix{Float64}, A::Matrix{Float64}, m::Matrix{Float64}; corrected::Bool) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:309 [4] varm! @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:304 [inlined] [5] _varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:341 [inlined] [6] varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:339 [inlined] [7] _var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:386 [inlined] [8] var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:380 [inlined] [9] _std(A::Matrix{Float64}, corrected::Bool, mean::Matrix{Float64}, dims::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:469 [10] std @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:461 [inlined] [11] #mean_and_std#28 @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:142 [inlined] [12] mean_and_std @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:140 [inlined] [13] fit(::Type{StatsBase.ZScoreTransform}, X::Matrix{Float64}; dims::Int64, center::Bool, scale::Bool) @ StatsBase ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:0 [14] fit @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:109 [inlined] [15] #standardize#232 @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:367 [inlined] [16] matrix(data::PopData, matrixtype::String; missings::String, scale::Bool, center::Bool) @ PopGenCore ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:65 [17] matrix (repeats 2 times) @ ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:58 [inlined] [18] dbscan(data::PopData; radius::Float64, minpoints::Int64, distance::Distances.Euclidean, matrixtype::Symbol) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/Clustering.jl:154 [19] top-level scope @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:12 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [21] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:40 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [23] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/clustering.jl:42 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:728 [inlined] PASSED: clustering.jl pca: Error During Test at /home/pkgeval/.julia/packages/PopGen/UXFCN/test/pca.jl:10 Test threw exception Expression: size((pca(cats)).proj) == (237, 93) MethodError: no method matching mapreduce_impl(::Statistics.var"#centralizedabs2fun##0#centralizedabs2fun##1"{Float64}, ::typeof(+), ::Matrix{Float64}, ::Int64, ::Int64) The function `mapreduce_impl` exists, but no method is defined for this combination of argument types. Closest candidates are: mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer, !Matched::Int64) @ Base reduce.jl:263 mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:286 mapreduce_impl(::Any, !Matched::Union{typeof(max), typeof(min)}, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:649 ... Stacktrace: [1] centralize_sumabs2(A::Matrix{Float64}, m::Float64, ifirst::Int64, ilast::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:257 [2] centralize_sumabs2!(R::Matrix{Float64}, A::Matrix{Float64}, means::Matrix{Float64}) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:275 [3] varm!(R::Matrix{Float64}, A::Matrix{Float64}, m::Matrix{Float64}; corrected::Bool) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:309 [4] varm! @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:304 [inlined] [5] _varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:341 [inlined] [6] varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:339 [inlined] [7] _var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:386 [inlined] [8] var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:380 [inlined] [9] _std(A::Matrix{Float64}, corrected::Bool, mean::Matrix{Float64}, dims::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:469 [10] std @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:461 [inlined] [11] #mean_and_std#28 @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:142 [inlined] [12] mean_and_std @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:140 [inlined] [13] fit(::Type{StatsBase.ZScoreTransform}, X::Matrix{Float64}; dims::Int64, center::Bool, scale::Bool) @ StatsBase ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:0 [14] fit @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:109 [inlined] [15] #standardize#232 @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:367 [inlined] [16] matrix(data::PopData, matrixtype::String; missings::String, scale::Bool, center::Bool) @ PopGenCore ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:65 [17] matrix (repeats 2 times) @ ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:58 [inlined] [18] pca(data::PopData; maxpc::Int64, method::Symbol, missings::String, pratio::Float64, center::Bool, scale::Bool) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/PCA.jl:23 [19] pca(data::PopData) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/PCA.jl:21 [20] top-level scope @ ~/.julia/packages/PopGen/UXFCN/test/pca.jl:9 [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [22] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/pca.jl:10 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [24] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/pca.jl:10 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:728 [inlined] pca: Error During Test at /home/pkgeval/.julia/packages/PopGen/UXFCN/test/pca.jl:11 Test threw exception Expression: size((pca(cats, maxpc = 25)).proj) == (237, 25) MethodError: no method matching mapreduce_impl(::Statistics.var"#centralizedabs2fun##0#centralizedabs2fun##1"{Float64}, ::typeof(+), ::Matrix{Float64}, ::Int64, ::Int64) The function `mapreduce_impl` exists, but no method is defined for this combination of argument types. Closest candidates are: mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer, !Matched::Int64) @ Base reduce.jl:263 mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:286 mapreduce_impl(::Any, !Matched::Union{typeof(max), typeof(min)}, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:649 ... Stacktrace: [1] centralize_sumabs2(A::Matrix{Float64}, m::Float64, ifirst::Int64, ilast::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:257 [2] centralize_sumabs2!(R::Matrix{Float64}, A::Matrix{Float64}, means::Matrix{Float64}) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:275 [3] varm!(R::Matrix{Float64}, A::Matrix{Float64}, m::Matrix{Float64}; corrected::Bool) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:309 [4] varm! @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:304 [inlined] [5] _varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:341 [inlined] [6] varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:339 [inlined] [7] _var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:386 [inlined] [8] var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:380 [inlined] [9] _std(A::Matrix{Float64}, corrected::Bool, mean::Matrix{Float64}, dims::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:469 [10] std @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:461 [inlined] [11] #mean_and_std#28 @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:142 [inlined] [12] mean_and_std @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:140 [inlined] [13] fit(::Type{StatsBase.ZScoreTransform}, X::Matrix{Float64}; dims::Int64, center::Bool, scale::Bool) @ StatsBase ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:0 [14] fit @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:109 [inlined] [15] #standardize#232 @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:367 [inlined] [16] matrix(data::PopData, matrixtype::String; missings::String, scale::Bool, center::Bool) @ PopGenCore ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:65 [17] matrix (repeats 2 times) @ ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:58 [inlined] [18] pca(data::PopData; maxpc::Int64, method::Symbol, missings::String, pratio::Float64, center::Bool, scale::Bool) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/PCA.jl:23 [19] top-level scope @ ~/.julia/packages/PopGen/UXFCN/test/pca.jl:9 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [21] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/pca.jl:10 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [23] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/pca.jl:11 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:728 [inlined] pca: Error During Test at /home/pkgeval/.julia/packages/PopGen/UXFCN/test/pca.jl:12 Test threw exception Expression: size((pca(cats, maxpc = 25)).proj) == (237, 25) MethodError: no method matching mapreduce_impl(::Statistics.var"#centralizedabs2fun##0#centralizedabs2fun##1"{Float64}, ::typeof(+), ::Matrix{Float64}, ::Int64, ::Int64) The function `mapreduce_impl` exists, but no method is defined for this combination of argument types. Closest candidates are: mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer, !Matched::Int64) @ Base reduce.jl:263 mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:286 mapreduce_impl(::Any, !Matched::Union{typeof(max), typeof(min)}, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:649 ... Stacktrace: [1] centralize_sumabs2(A::Matrix{Float64}, m::Float64, ifirst::Int64, ilast::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:257 [2] centralize_sumabs2!(R::Matrix{Float64}, A::Matrix{Float64}, means::Matrix{Float64}) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:275 [3] varm!(R::Matrix{Float64}, A::Matrix{Float64}, m::Matrix{Float64}; corrected::Bool) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:309 [4] varm! @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:304 [inlined] [5] _varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:341 [inlined] [6] varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:339 [inlined] [7] _var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:386 [inlined] [8] var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:380 [inlined] [9] _std(A::Matrix{Float64}, corrected::Bool, mean::Matrix{Float64}, dims::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:469 [10] std @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:461 [inlined] [11] #mean_and_std#28 @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:142 [inlined] [12] mean_and_std @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:140 [inlined] [13] fit(::Type{StatsBase.ZScoreTransform}, X::Matrix{Float64}; dims::Int64, center::Bool, scale::Bool) @ StatsBase ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:0 [14] fit @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:109 [inlined] [15] #standardize#232 @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:367 [inlined] [16] matrix(data::PopData, matrixtype::String; missings::String, scale::Bool, center::Bool) @ PopGenCore ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:65 [17] matrix (repeats 2 times) @ ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:58 [inlined] [18] pca(data::PopData; maxpc::Int64, method::Symbol, missings::String, pratio::Float64, center::Bool, scale::Bool) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/PCA.jl:23 [19] top-level scope @ ~/.julia/packages/PopGen/UXFCN/test/pca.jl:9 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [21] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/pca.jl:10 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [23] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/pca.jl:12 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:728 [inlined] pca: Error During Test at /home/pkgeval/.julia/packages/PopGen/UXFCN/test/pca.jl:13 Test threw exception Expression: size((pca(cats, maxpc = 25, center = true)).proj) == (237, 25) MethodError: no method matching mapreduce_impl(::Statistics.var"#centralizedabs2fun##0#centralizedabs2fun##1"{Float64}, ::typeof(+), ::Matrix{Float64}, ::Int64, ::Int64) The function `mapreduce_impl` exists, but no method is defined for this combination of argument types. Closest candidates are: mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer, !Matched::Int64) @ Base reduce.jl:263 mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:286 mapreduce_impl(::Any, !Matched::Union{typeof(max), typeof(min)}, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:649 ... Stacktrace: [1] centralize_sumabs2(A::Matrix{Float64}, m::Float64, ifirst::Int64, ilast::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:257 [2] centralize_sumabs2!(R::Matrix{Float64}, A::Matrix{Float64}, means::Matrix{Float64}) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:275 [3] varm!(R::Matrix{Float64}, A::Matrix{Float64}, m::Matrix{Float64}; corrected::Bool) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:309 [4] varm! @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:304 [inlined] [5] _varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:341 [inlined] [6] varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:339 [inlined] [7] _var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:386 [inlined] [8] var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:380 [inlined] [9] _std(A::Matrix{Float64}, corrected::Bool, mean::Matrix{Float64}, dims::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:469 [10] std @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:461 [inlined] [11] #mean_and_std#28 @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:142 [inlined] [12] mean_and_std @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:140 [inlined] [13] fit(::Type{StatsBase.ZScoreTransform}, X::Matrix{Float64}; dims::Int64, center::Bool, scale::Bool) @ StatsBase ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:0 [14] fit @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:109 [inlined] [15] #standardize#232 @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:367 [inlined] [16] matrix(data::PopData, matrixtype::String; missings::String, scale::Bool, center::Bool) @ PopGenCore ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:65 [17] matrix (repeats 2 times) @ ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:58 [inlined] [18] pca(data::PopData; maxpc::Int64, method::Symbol, missings::String, pratio::Float64, center::Bool, scale::Bool) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/PCA.jl:23 [19] top-level scope @ ~/.julia/packages/PopGen/UXFCN/test/pca.jl:9 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [21] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/pca.jl:10 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [23] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/pca.jl:13 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:728 [inlined] pca: Error During Test at /home/pkgeval/.julia/packages/PopGen/UXFCN/test/pca.jl:15 Test threw exception Expression: size((pca(cats, pratio = 0.7)).proj) == (237, 39) MethodError: no method matching mapreduce_impl(::Statistics.var"#centralizedabs2fun##0#centralizedabs2fun##1"{Float64}, ::typeof(+), ::Matrix{Float64}, ::Int64, ::Int64) The function `mapreduce_impl` exists, but no method is defined for this combination of argument types. Closest candidates are: mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer, !Matched::Int64) @ Base reduce.jl:263 mapreduce_impl(::Any, ::Any, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:286 mapreduce_impl(::Any, !Matched::Union{typeof(max), typeof(min)}, ::Union{Base.AbstractBroadcasted, AbstractArray}, ::Any, ::Integer, !Matched::Integer) @ Base reduce.jl:649 ... Stacktrace: [1] centralize_sumabs2(A::Matrix{Float64}, m::Float64, ifirst::Int64, ilast::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:257 [2] centralize_sumabs2!(R::Matrix{Float64}, A::Matrix{Float64}, means::Matrix{Float64}) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:275 [3] varm!(R::Matrix{Float64}, A::Matrix{Float64}, m::Matrix{Float64}; corrected::Bool) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:309 [4] varm! @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:304 [inlined] [5] _varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:341 [inlined] [6] varm @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:339 [inlined] [7] _var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:386 [inlined] [8] var @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:380 [inlined] [9] _std(A::Matrix{Float64}, corrected::Bool, mean::Matrix{Float64}, dims::Int64) @ Statistics ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:469 [10] std @ ~/.julia/packages/Statistics/gbcbG/src/Statistics.jl:461 [inlined] [11] #mean_and_std#28 @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:142 [inlined] [12] mean_and_std @ ~/.julia/packages/StatsBase/XgjIN/src/moments.jl:140 [inlined] [13] fit(::Type{StatsBase.ZScoreTransform}, X::Matrix{Float64}; dims::Int64, center::Bool, scale::Bool) @ StatsBase ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:0 [14] fit @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:109 [inlined] [15] #standardize#232 @ ~/.julia/packages/StatsBase/XgjIN/src/transformations.jl:367 [inlined] [16] matrix(data::PopData, matrixtype::String; missings::String, scale::Bool, center::Bool) @ PopGenCore ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:65 [17] matrix (repeats 2 times) @ ~/.julia/packages/PopGenCore/u7lTq/src/AlleleMatrices.jl:58 [inlined] [18] pca(data::PopData; maxpc::Int64, method::Symbol, missings::String, pratio::Float64, center::Bool, scale::Bool) @ PopGen ~/.julia/packages/PopGen/UXFCN/src/PCA.jl:23 [19] top-level scope @ ~/.julia/packages/PopGen/UXFCN/test/pca.jl:9 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [21] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/pca.jl:10 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1835 [inlined] [23] macro expansion @ ~/.julia/packages/PopGen/UXFCN/test/pca.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:728 [inlined] PASSED: pca.jl Test Summary: | Pass Error Total Time All Tests | 51 19 70 3m46.3s Data Exploration | 12 12 46.6s alleleaverage | 4 4 1.1s richness | 4 4 0.0s summary F/D/etc. stats | 4 4 15.0s Heterozygosity.jl | 21 21 4.7s Hardy Weinberg | 5 5 17.7s Clustering.jl | 14 14 52.9s k-means | 3 3 23.3s k-medoids | 3 3 20.4s h-clust | 1 1 1.6s fuzzy-c | 4 4 4.7s dbscan | 3 3 2.9s PCA.jl | 1 5 6 7.1s pca | 1 5 6 7.1s RNG of the outermost testset: Random.Xoshiro(0xc82ce61cf3ca9f18, 0xed47018704444c2e, 0x09bdac2ad461c274, 0xbffbf792603dddc0, 0x009a0c88c8316026) ERROR: LoadError: Some tests did not pass: 51 passed, 0 failed, 19 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/PopGen/UXFCN/test/runtests.jl:18 Testing failed after 248.37s ERROR: LoadError: Package PopGen errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.13/Pkg/src/Types.jl:68 [2] test(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool) @ Pkg.Operations /opt/julia/share/julia/stdlib/v1.13/Pkg/src/Operations.jl:2414 [3] test @ /opt/julia/share/julia/stdlib/v1.13/Pkg/src/Operations.jl:2269 [inlined] [4] test(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::@Kwargs{io::IOContext{IO}}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:486 [5] test(pkgs::Vector{PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:164 [6] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:152 [7] test @ /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:152 [inlined] [8] #test#81 @ /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:151 [inlined] [9] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:219 [10] include(mod::Module, _path::String) @ Base ./Base.jl:303 [11] exec_options(opts::Base.JLOptions) @ Base ./client.jl:331 [12] _start() @ Base ./client.jl:563 in expression starting at /PkgEval.jl/scripts/evaluate.jl:210 PkgEval failed after 893.07s: package tests unexpectedly errored