To build on what people here are saying:
I installed Julia 1.4.0
, then rm -rf ~/.julia
.
Next installed MLJ.jl
, followed by Distributions.jl
.
Here is the message I got:
(@v1.4) pkg> add Distributions
Resolving package versions...
Updating `~/.julia/environments/v1.4/Project.toml`
[31c24e10] + Distributions v0.22.6
Updating `~/.julia/environments/v1.4/Manifest.toml`
[no changes]
Next when I check status:
(@v1.4) pkg> status
Status `~/.julia/environments/v1.4/Project.toml`
[31c24e10] Distributions v0.22.6
[add582a8] MLJ v0.10.1
It would be great if
- Julia warns me when it adds a package which is not the latest or some kind of Pkg incompatability error as @tim.holy mentions:
`Note you have installed Distributions v0.22.6, not the latest
Distributions v0.23.0 because it conflicts with MLJ v0.10.1.`
- Let
Pkg.status()
display two columns, the package I have & the latest version:
Package Installed version Latest version
Distributions v0.22.6 v0.23.0
MLJ v0.10.1 v0.10.1
I’d submit a PR to (https://github.com/JuliaLang/Pkg.jl), but not sure where to begin, or if others even want this.