johnmyleswhite / kNN.jl

The k-nearest neighbors algorithm in Julia
Other
22 stars 17 forks source link

METADATA.jl/kNN needs a version bump #17

Open catawbasam opened 9 years ago

catawbasam commented 9 years ago

The version of kNN pointed to by 0.0.0 in METADATA.jl/kNN is still using Stats rather than using StatsBase, which causes using kNN to fail with:

ERROR: Stats not found
 in require at loading.jl:47
 in include at ./boot.jl:245
 in include_from_node1 at ./loading.jl:128
 in reload_path at loading.jl:152
 in _require at loading.jl:67
 in require at loading.jl:51
while loading /home/keithc/.julia/v0.3/kNN/src/kNN.jl, in expression starting on line 6

Bumping METADATA.jl to the latest kNN update should resolve the 'Test Status: Package doesn't load' reported by http://pkg.julialang.org/.

paulanalyst commented 8 years ago

Afte new instaltion of kNN: () | A fresh approach to technical computing () | () () | Documentation: http://docs.julialang.org | |_ | Type "?help" for help. | | | | | | |/ ` | | | | || | | | (| | | Version 0.4.0 (2015-10-08 06:20 UTC) / |_'||_|'_| | Official http://julialang.org/ release |__/ | x86_64-w64-mingw32

julia> Pkg.installed() Dict{ASCIIString,VersionNumber} with 49 entries: "ForwardDiff" => v"0.1.2" "Tk" => v"0.3.6" "ArrayViews" => v"0.6.4" "Compat" => v"0.7.8" "Calculus" => v"0.1.14" "GZip" => v"0.2.18" "Clustering" => v"0.5.0" "StatsFuns" => v"0.2.0" "Cairo" => v"0.2.31" "HttpParser" => v"0.1.1" "DataFrames" => v"0.6.10" "Blosc" => v"0.1.4" "Distributions" => v"0.8.7" "LibExpat" => v"0.1.0" "FixedPointNumbers" => v"0.1.1" "SHA" => v"0.1.2" "LinearAlgebra" => v"0.0.0-" "kNN" => v"0.0.0" "HDF5" => v"0.5.7" "ColorTypes" => v"0.2.0" "Polynomials" => v"0.0.4" "MbedTLS" => v"0.2.0" "FileIO" => v"0.0.3" "Dates" => v"0.4.4" "HttpServer" => v"0.1.5" "PDMats" => v"0.3.6" "SortingAlgorithms" => v"0.0.6" "WinRPM" => v"0.1.13" "Docile" => v"0.5.19" "LinearLeastSquares" => v"0.0.10" "JSON" => v"0.5.0" "StatsBase" => v"0.7.4" "Distances" => v"0.2.1" "BinDeps" => v"0.3.19" "Reexport" => v"0.0.3" "Graphics" => v"0.1.3" "NaNMath" => v"0.1.1" "URIParser" => v"0.1.1" "HypothesisTests" => v"0.2.10" ? => ?

julia> using kNN ERROR: LoadError: ArgumentError: Stats not found in path in require at loading.jl:233 in include at boot.jl:261 in include_from_node1 at loading.jl:304 in require at loading.jl:243 while loading C:\Users\SAMSUNG2.julia\v0.4\kNN\src\kNN.jl, in expression starting on line 6

julia>