Check package version

How can I test, whether a package is on #master?

Pkg.API.installed()[name] no longer contains a ‘+’ to indicate this. Pkg.API.status(name) only displays (prints) the version information, but doesn’t return anything.

There is currently no stable API for this. There is an experimental API which should make it into 1.4 (you can find some preliminary docs here: 12. API Reference · Pkg.jl). In the meantime, parsing the manifest file directly should work well enough.

1 Like