**Older release.** The current release is [2.2.5](/cran/pkgcache/v/2.2.5.md).

# pkgcache 2.1.1 (CRAN)

Part of: [pkgcache](/cran/pkgcache.md)

- Released: 14 Jun 2023 (R 4.3.0 at the time)
- Advisories: None known (for this release)
- Test coverage: – (not measured for this release)
- Public exports: 43 (2 added, 0 removed)

Record made 30 Oct 2026, 06:43 UTC from data release v2026-10-29, merged 23:17 UTC. Project DOI 10.5281/zenodo.21843040. Address: https://r-observatory.thecoatlessprofessor.com/cran/pkgcache/v/2.1.1

This page reports what R Observatory measured for this release. It is not a validation, and it does not say whether the package is fit for your intended use.

## Compare

Compared with 2.2.5, released 9 Apr 2026.

- Time between: 1,030 days (6 releases in between)
- Advisories: None known (for either release)
- Exports: 1 added (none removed)
- Files changed: 221 (+11,735 −5,039 lines)

#### Values that differ (18)

| Measure | Section | 2.1.1 | 2.2.5 |
| --- | --- | --- | --- |
| Download size | Release | 252 KB | 287 KB |
| Authors | Release | Gábor Csárdi, RStudio | Gábor Csárdi, Posit Software, PBC |
| Source code | Release | [https://github.com/r-lib/pkgcache#readme](https://github.com/r-lib/pkgcache#readme), [https://r-lib.github.io/pkgcache/](https://r-lib.github.io/pkgcache/) | [https://r-lib.github.io/pkgcache/](https://r-lib.github.io/pkgcache/), [https://github.com/r-lib/pkgcache](https://github.com/r-lib/pkgcache) |
| Public exports | Code | 43 | 44 |
| Internal functions | Code | 384 | 392 |
| Lines of R code | Code | 13,522 | 15,351 |
| Lines of compiled code | Code | 1,258, 4.5% of code | 1,368, 4.0% of code |
| Complexity | Code | mean 2.7, highest 24 | mean 2.8, highest 27 |
| Tests | Tests | Yes, testthat (3rd edition), 191 test blocks | Yes, testthat (3rd edition), 211 test blocks |
| Test lines per line of code | Tests | 0.82 | 1.00 |
| Exports named in tests | Tests | 95.3% | 93.2% |
| Help pages | Documentation | 31 | 32 |
| Exports with examples | Documentation | 90.5% | 86.4% |
| Arguments documented | Documentation | 97.5% | 97.8% |
| Return value documented | Documentation | 71.4% | 72.7% |
| NEWS | Documentation | Yes, mentions 2.1.1 | Yes, mentions 2.2.5 |
| Imports | Dependencies | callr (>= 2.0.4.9000), cli (>= 3.2.0), curl (>= 3.2), filelock, jsonlite, prettyunits, processx (>= 3.3.0.9001), R6, rappdirs, tools, utils | callr (>= 2.0.4.9000), cli (>= 3.2.0), curl (>= 3.2), filelock, jsonlite, processx (>= 3.3.0.9001), R6, tools, utils |
| Suggests | Dependencies | covr, debugme, desc, fs, mockery, pillar, pingr, rprojroot, sessioninfo, spelling, testthat (>= 3.0.0), webfakes (>= 1.1.5), withr, zip | covr, debugme, desc, fs, keyring, pillar, pingr, rprojroot, sessioninfo, spelling, testthat (>= 3.2.0), webfakes (>= 1.1.5), withr, zip |

**Exports added (1)**

- `repo_auth`

**Most changed files (12 of 221)**

| File | Lines added | Lines deleted |
| --- | ---: | ---: |
| `R/aaa-async.R` | 1,047 | 464 |
| `R/compat-vctrs.R` | 497 | 492 |
| `R/onload.R` | 232 | 568 |
| `tests/testthat/_snaps/auth.md` | 644 | 1 |
| `MD5` | 332 | 266 |
| `tests/testthat/_snaps/ppm.md` | 322 | 182 |
| `tests/testthat/test-installed.R` | 415 | 44 |
| `R/auth.R` | 455 | 0 |
| `R/metadata-cache.R` | 250 | 167 |
| `R/package-cache.R` | 259 | 119 |
| `tests/testthat/test-auth.R` | 350 | 0 |
| `tests/testthat/_snaps/platform.md` | 278 | 36 |

[Both releases side by side](/cran/pkgcache/compare/2.1.1...2.2.5.md)

## Release

- Published: 14 Jun 2023
- Status: Replaced by 2.2.0 on 18 Jul 2023
- Previous: 2.1.0, 18 Apr 2023
- License: MIT + file LICENSE, OSI approved
- Maintainer: Gábor Csárdi
- Download size: 252 KB
- Authors: Gábor Csárdi, RStudio
- Source code: [https://github.com/r-lib/pkgcache#readme](https://github.com/r-lib/pkgcache#readme), [https://r-lib.github.io/pkgcache/](https://r-lib.github.io/pkgcache/)

## Advisories

[Method](/about/advisories.md)

- This release: [None known](/about/advisories.md)

## CRAN checks

[Method](/about/checks-health.md)

- Results: Kept only for the current release

## Code

[Method](/about/code-metrics.md)

- Lines of R code: 13,522
- Public exports: 43
- Internal functions: 384
- Mean complexity: 2.7 (the most is 24)

#### Lines by kind (27,760)

| Kind | Lines | Share |
| --- | ---: | ---: |
| R code | 13,522 | 49% |
| Tests | 11,051 | 40% |
| Documentation | 1,929 | 7% |
| Compiled code | 1,258 | 5% |

- Exports changed since 2.1.0: 2 added, 0 removed

## Tests

[Method](/about/coverage.md)

- Test cases: 439
- Lines of tests: 11,051
- Exports named in tests: 95.3%

- Tests: Yes, testthat (3rd edition), 191 test blocks
- Test lines per line of code: 0.82
- Coverage: Not measured for this release
- Help pages with running examples: 19 of 19

## Documentation

[Method](/about/code-metrics.md)

- Exports documented: 100%
- Arguments documented: 97.5%
- Return value documented: 71.4%
- Vignettes: 0

- Help pages: 31
- Exports with examples: 90.5%
- NEWS: Yes, mentions 2.1.1
- Citation file: No
- Website: Yes

## Dependencies

[Method](/about/reverse-dependencies.md)

- Depends: R (>= 3.4)
- Imports: callr (>= 2.0.4.9000), cli (>= 3.2.0), curl (>= 3.2), filelock, jsonlite, prettyunits, processx (>= 3.3.0.9001), R6, rappdirs, tools, utils
- LinkingTo: None
- Suggests: covr, debugme, desc, fs, mockery, pillar, pingr, rprojroot, sessioninfo, spelling, testthat (>= 3.0.0), webfakes (>= 1.1.5), withr, zip
- Install tree: Kept only for the current release
- Advisories in the install tree: Kept only for the current release

[SBOM](/cran/pkgcache/v/2.1.1/sbom.md)

## Today

Checks, downloads, dependents, people and the repository describe the package as it is now, so they are on the current release.

[pkgcache 2.2.5](/cran/pkgcache/v/2.2.5.md) | [the package page](/cran/pkgcache.md)

## Sources

| Part | From | As of |
| --- | --- | --- |
| Release history | CRAN package versions | 29 Oct 2026 |
| Advisories | osv-advisories 1.0.0, R version 4.6.1 (2026-06-24) | 29 Oct 2026 |
| CRAN checks | CRAN check results | Kept only for the current release |
| Tests, documentation, code | rpkg-analyzer 0.5.2 | 5 Oct 2026 |
| Coverage | covr | Not measured for this release |
| Use | CRAN downloads, reverse dependencies, repository | Not shown for this release |

Daily data releases are kept on GitHub, so the data behind this record can be fetched again from v2026-10-29 (merged 23:17 UTC). Values not kept for a release say so and are never filled in from another release.

---

R Observatory is independent of the R Project, CRAN and Bioconductor. The same page for people is at /cran/pkgcache/v/2.1.1, and every address is listed at /llms.txt.
