You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pkg.installed("anInvalidPackage") function should return nothing but it throws an error:
julia> VERSION
v"0.5.0"
julia> Pkg.installed("anInvalidPackage")
ERROR: anInvalidPackage is not a package (not registered or installed)
in installed(::String) at .\pkg\entry.jl:123
in (::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#installed,Tuple{String}})
() at .\pkg\dir.jl:31
in cd(::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#installed,Tuple{String}
}, ::String) at .\file.jl:48
in #cd#1 at .\pkg\dir.jl:31
in installed(::String) at .\pkg\pkg.jl:129
I think one of those, documentation or Pkg.installed() function behavior needs review.
The text was updated successfully, but these errors were encountered:
Refer to this doc paragraph:
and also this relate QA:
Pkg.installed("anInvalidPackage")
function should returnnothing
but it throws an error:I think one of those, documentation or
Pkg.installed()
function behavior needs review.The text was updated successfully, but these errors were encountered: