Is there another way to obtain the version of a package other than 
``Pkg.installed()``? Right now, I'm using the following code:

try

  if isinteractive()

    import IJulia

    if Pkg.installed("IJulia") > v"0.2.5"

      ...

    end

  end

end

But, as we are using Julia in a managed desktop environment (for OS X and 
Linux) with the package root set to a common directory (export 
JULIA_PKGDIR=/usr/local/lib/julia),  the users don't habe write access to 
this directory and the Pkg.installed() command fails.

Reply via email to