rstudio / rstudio/packrat

Whitelist/blacklist paths for R package search

Open
#331 4 comments 1 reaction 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

Thanks for the packrat! Super useful.

I'm working on a project that has some scripts that refer to R packages I use rarely. I'm using packrat for package management on a decent number of machines and most of these machines do not require the installation of these rarely-used R packages. Is there a good way to whitelist / blacklist paths that the snapshot and init commands search so that they do not automatically search through all the R files and installing all relevant files? I know there is functionality around ignoring libraries, but I'd rather just whitelist / blacklist paths.

Thank you!

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

Begin with the snapshot and init command entry points and trace how they search R files and libraries. Review the existing library-ignore functionality, then define how path whitelists and blacklists should affect both commands; done means excluded paths are not scanned or installed while included paths still are.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.