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

Add package management with renv to one of your existing projects #24

Open
jdblischak opened this issue Mar 4, 2020 · 4 comments
Open
Labels
enhancement New feature or request

Comments

@jdblischak
Copy link

Have you ever struggled to run someone else's code (or even your own after returning to it after some time) because the code doesn't run with the versions of the package you currently have installed? A package management tool like renv can help with this. It records the exact versions of the R packages that you originally used, so that in the future you or anyone else can recreate the exact computing environment to re-run or update the code.

I told the author of renv that we were looking for open source R packages to contribute to, and he said the most helpful thing would be to try out renv on various projects and report back any unexpected behavior or pain points (rstudio/renv#359 (comment)).

Thus if you have an existing project that you'd like to add package management support to, I'd be happy to help mentor you through the process of setting up and using renv.

@ataustin
Copy link

ataustin commented Mar 4, 2020

Love this idea -- and I would also be interested in making a comparison of different package management strategies for R (renv, packrat, switchr, etc).

@emilyriederer emilyriederer added the enhancement New feature or request label Mar 4, 2020
@jdblischak
Copy link
Author

a comparison of different package management strategies for R

@ataustin That'd be very useful! Like you, I mainly use conda, so I'm interested in learning about the other options.

A detailed comparison could also be useful for workflowr. I've long wanted to provide a uniform interface to package managers so that workflowr users can choose the "backend" they'd like to use. For example, can all package managers be broken down into steps such as "snapshot" and "restore"? See workflowr/workflowr#128 for discussion.

@rpodcast
Copy link

rpodcast commented Mar 6, 2020

I use renv for almost every project at the day job, a big fan! Happy to share my findings.

@ataustin
Copy link

ataustin commented Mar 6, 2020

Excellent, let's discuss! I'm also a conda user day-to-day, but that's mostly because my team needs multiple languages. If I'm sticking to R, I'd love to learn more about renv @rpodcast

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

No branches or pull requests

4 participants