Tools to prune cache

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

Nobody has claimed this yet.

Assessment

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

Research direction

Start by reviewing the cache implementation and how configuration is currently handled; the issue names no files, tests, or entry points. Define the pruning behavior, including the user-specified threshold, environment-variable control, and default of 5 GB. Done means the cache stays below the configured limit and the behavior is covered by tests.

Written by the indexing model from the issue text.

Description

feature

I don't think we need it in this version, but I think the next version should have some way to automatically prune the cache to keep it below a user specified threshold with default (maybe controlled via an environment variable, and set to say 5 Gb by default?)

Dominant language
R
Stars
30
Forks
19
Avg merge
4d 19h
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

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.

More from r-lib/pkgcache

All issues in r-lib/pkgcache

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.