How to use Pkg.dependencies() instead of Pkg.installed()

AtsushiSakai
Tue, 24 Mar 2020 05:11:54 +0000
General Usage

From Julia v1.4, Pkg.installed() shows deprecation message.
Using Pkg.dependencies() is recommended instead of Pkg.installed() in this issue:
https://github.com/JuliaLang/Pkg.jl/issues/1724

However, Pkg.dependencies return all packages, not top level packages like Pkg.installed.
How can I get same results using Pkg.dependencies instead of Pkg.installed?

22 posts - 11 participants