Looks good so far for me.
There is a long loop in constrsparsereg_admm.jl over k and after the loop in line 640 it is with my change:
k=maxiters #loop var k is out of scope here after the loop, so set it to the max
βpath = βpath[:, 1:k-1]
deleteat!(ρpath, k:length(ρpath))
deleteat!(objvalpath, k:length(objvalpath))
deleteat!(dfpath, k:length(dfpath))
dfpath[dfpath .< 0] = 0;
]dev looks up the name of the package in the registry, not among your added packages. If you used a URL or local path to do the ]add the package, you should specify it again for ]dev.
I included you change in the next commit. However i still have some weird bugs:
[ Info: Test lsq_constrsparsereg: sum-to-zero constraint
[ Info: Optimize at a single tuning parameter value
┌ Warning: broadcast will default to iterating over its arguments in the future. Wrap arguments of
│ type `x::Convex.AdditionAtom` with `Ref(x)` to ensure they broadcast as "scalar" elements.
│ caller = ip:0x0
└ @ Core :-1
Which i do not understand, and then it fails with :
[ Info: Test lsq_classopath: sum-to-zero constraint
Test Failed at C:\Users\u009192\.julia\dev\ConstrainedLasso\test\classopath_test.jl:25
Expression: all(abs.(sum(β̂path1, dims=1)) .< 1.0e-6)
ERROR: LoadError: LoadError: There was an error during testing
in expression starting at C:\Users\u009192\.julia\dev\ConstrainedLasso\test\classopath_test.jl:25
in expression starting at C:\Users\u009192\.julia\dev\ConstrainedLasso\test\runtests.jl:4
ERROR: Package ConstrainedLasso errored during testing