What’s the recommended API for testing if a package (which may not be registed) is installed? I have seen two versions floating around:
"somepackage" ∈ keys(Pkg.installed())
The second one feels hackish. First I thought checking
Pkg.installed("somepackage") but that can return an error for unregistered, uninstalled packages.
(This is for use in
.juliarc.jl, when running different versions.)