Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infer correct version of dependencies for a specific date #57

Open
remram44 opened this issue Nov 13, 2018 · 1 comment
Open

Infer correct version of dependencies for a specific date #57

remram44 opened this issue Nov 13, 2018 · 1 comment

Comments

@remram44
Copy link
Contributor

remram44 commented Nov 13, 2018

If I am trying to reproduce some experiment I found somewhere, it would be nice to be able to tell Dockter when this experiment was written, so it can find the correct version of dependencies for that date. It is unlikely that it will work with whatever the latest available versions are.

I had played with that for Python/pip, but obviously this needs integration with other package managers to work in other languages.

This might be out of scope for you, but could be a great feature for reproducibility!

@nokome
Copy link
Member

nokome commented Nov 14, 2018

Agreed, that would be great! Hope that pip PR get's merged in.

In Dockter you can do that for R by specifying the date in the DESCRIPTION file (see README). We use the MRAN snapshots to get the version of R and all the packages on that date. See https://github.com/stencila/dockter/blob/master/src/install.R for how we use the specified data to set the MRAN date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants