rstudio / rstudio/packrat

Subsets of dependencies with packrat

Open
#64 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
409
Forks
89
PR merge metrics
No merged PRs in 30d

Description

We should consider whether it would be fruitful to allow packrat to manage only a subset of dependencies. Instead of inferring the set of dependencies from the project context, we might allow the user to specify which packages should be managed by packrat.

Alternatively, we can specify a set of packages which we are comfortable loading from the user library, and can exclude from packrat.

This is less useful from the 'reproducibility' perspective, but makes sense for e.g. package development where you might want to develop / test against the development version of certain packages, but still feel comfortable using other 'release' version of packages in the user library.

Similarly, we might want to avoid having copies of very large packages (e.g. BioConductor annotation packages) in each project, if there are multiple projects using the same data.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by reviewing how packrat currently infers project dependencies and selects packages for management, then compare the proposed subset and user-library exclusion approaches. Done would require an agreed design, implemented behavior, and tests covering the chosen dependency-selection rules.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.