Say I have a project where I am performing analysis (ie not looking to develop a sharable package) but I want to ensure that others could clone the repository and instantiate the dependencies and run the code as written.
Steps I have taken so far:
- Created code in it's own folder
- Made that folder a Julia environment (by
activate .
in the package mode of the REPL) add
ed the packages I am using
Does this lock in the versions of the dependencies? Or do I need to manually add [compat]
entries to the Project.toml
file? If the [compat]
entreis are necessary, is there a way to auto-include that entry when add
ing the package?
Is there a overall approach to ensuring reporducability?