This is identical to the previous homework.
- click top right on
fork
. After that, - in your local julia session, you need to do
] dev https://github.com/YOUR_GITHUB_USER/HWconstrained.jl.git
- next, go to the newly created directory to instantiate the package:
cd(joinpath(DEPOT_PATH[1],"dev","HWconstrained")) # go to package location ] activate . ] instantiate
- Now you can go back to the main environment and start editing the code in your text editor
] activate # no args goes back to main using HWconstrained # precompiles data() # errors: function is incomplete! go and complete it in your editor!
- When you add a unit test in
/test/runtest.jl
, you can try it out by doing# if in the package directory: ] activate . ] test # from any other location ] test HWconstrained
- To submit:
cd ~/.julia/dev/HWconstrained git add . # adds everything. edit if that's not what you want git commit -m 'my homework' git push
Please observe that this repo is part of the Sciences Po CompEcon Organisation and therefore subject to the license detailed at the bottom of The Syllabus repo.