I am in the process of editing a file in a standard package (SpecialFunctions). For better or worse, I’ve already done my work using the standard git procedure, but outside the .julia directory structure. I can’t find any advice on how to test my updated branch of the package. I would appreciate help as I’ve already created havoc with some kludgy guesses.
To elaborate, I have cloned https://github.com/JuliaMath/SpecialFunctions.jl/ , started a new branch on my local machine ~/Julia/Testing, and pushed this to https://github.com/matthew-wingate/SpecialFunctions.jl/ . In my julia session, I’d like to use my new branch rather than the registered master branch.
Is there a way to toggle between versions of packages, in the way a python user would call import mytestdir/special
vs import scipy.special
? I have a feeling the solution lies in Pkg.init()
, but there isn’t enough documentation there for me to follow. Also it seems I’d have to keep pushing changes to my git-hub repo; it would be more convenient to test before making commits, I’d think.
I’ve found https://docs.julialang.org/en/release-0.6/manual/packages rather late in the day. From this I gather that I should be doing my work all within julia, although as a git tyro, this feels even more likely to lead to workflow problems.
Thanks in advance for any help.