In v0.7.0-beta the use of
Pkg.dir produces a warning
julia> using Pkg julia> Pkg.dir("Statistics") ┌ Warning: Pkg.dir is only kept for legacy CI script reasons └ @ Pkg.API API.jl:432 "/home/bates/git/julia/usr/share/julia/stdlib/v0.7/Statistics/"
but without any indication of what should be used instead.
If I include sample data with a package and want to illustrate how to access that data, I could use
dat = load(Pkg.dir("MixedModels", "test", "dat.rda"))
in earlier versions. What would a v0.7 alternative be?