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

Package dependencies #362

Closed
ldecicco-USGS opened this issue Apr 18, 2018 · 1 comment
Closed

Package dependencies #362

ldecicco-USGS opened this issue Apr 18, 2018 · 1 comment

Comments

@ldecicco-USGS
Copy link

Sorry if this is answered somewhere else, I searched but maybe missed it. Can drake track R package versions? IE...could I pass my drake workflow to a collaborator and somehow easily have them run a function that would check for the existence of all the required packages? (and install? update or revert to an older version?)

Maybe another way to ask...does drake managed and save "project metadata" like the package versions and where they came from (ie..github/CRAN/etc). This would go a long way in reproduciblity.

@wlandau
Copy link
Member

wlandau commented Apr 19, 2018

For metadata, drake does save the sessionInfo() of the last make(), and you can retrieve it from the cache using drake_session(). Package management in general is unfortunately beyond the scope of drake. There was a discussion in #6 (deeply buried, I know), but diving into package dependencies seemed to just make pipelines more brittle (prone to triggering updates), and drake already tries to do a lot as it is. I ended up deciding to promote packrat and containerization (Docker or Singularity) instead.

@wlandau wlandau closed this as completed Apr 19, 2018
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