Pkg.installed() returns a Dict, it does not take arguments. So if you want to check for a specific package, use haskey. For example: haskey(Pkg.installed(), "Colors")
1 Like
Pkg.installed() returns a Dict, it does not take arguments. So if you want to check for a specific package, use haskey. For example: haskey(Pkg.installed(), "Colors")