Yes, you can checkout a branch of the repository via Pkg.checkout("Package","branch"). Note that the default is for the master branch, i.e. Pkg.checkout("ProfileView") will checkout master. This will put you on the "current up-to-date" branch, which could be different than the most recent tagged version (which is what Julia gives you from Pkg.add by default). Many times the tags/releases will be behind on the bug fixes / version compatibility, so checking out master will usually fix this.
I know that ProfileView works on master in Julia v0.5 and v0.6. For completeness, you can always go back to the latest tag via Pkg.release("Package"). If you stay on master of any package, be prepared for "bleeding edge development issues" to crop up, as you're asking for using the current source and not the latest release. On Friday, September 9, 2016 at 3:47:47 PM UTC-7, Neal Becker wrote: > > Chris Rackauckas wrote: > > > Did you checkout master? > > > > No I just did Pkg.add("ProfileView"). I don't actually know how to do > otherwise - is that a Pkg option? > > > On Friday, September 9, 2016 at 2:55:21 PM UTC-7, Neal Becker wrote: > >> > >> using ProfileView > >> INFO: Precompiling module ProfileView. > >> WARNING: Module Compat with uuid 314389968181888 is missing from the > >> cache. > >> This may mean module Compat does not support precompilation but is > >> imported > >> by a module that does. > >> ERROR: LoadError: Declaring __precompile__(false) is not allowed in > files > >> that are being precompiled. > >> in macro expansion; at ./none:2 [inlined] > >> in anonymous at ./<missing>:? > >> while loading /home/nbecker/.julia/v0.5/ProfileView/src/ProfileView.jl, > >> in expression starting on line 5 > >> ERROR: Failed to precompile ProfileView to > >> /home/nbecker/.julia/lib/v0.5/ProfileView.ji. > >> in eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:64 > >> in macro expansion at ./REPL.jl:95 [inlined] > >> in (::Base.REPL.##3#4{Base.REPL.REPLBackend})() at ./event.jl:68 > >> > >> > > >