Skip to content

Give hint for replacement of Pkg.installed() in deprecation warning #1724

@stefan-m-lenz

Description

@stefan-m-lenz

In Julia 1.4.0-rc2, Pkg.installed() is now deprecated:

julia> using Pkg

julia> Pkg.installed()
┌ Warning: Pkg.installed() is deprecated
└ @ Pkg D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.4\Pkg\src\Pkg.jl:531
Dict{String,VersionNumber} with 3 entries:
  "StatsBase"         => v"0.32.2"
  "BoltzmannMachines" => v"1.2.0"
  "Tables"            => v"1.0.3"

It would be helpful if the deprecation message gave some hint about the replacement. Could you tell me what the alternatives are for using Pkg.installed?

Thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions