R Observatory
Search
install.packages("pkgcache")
CRAN 30-day downloads, method
6,613+3.7% up on the 30 days before, the better direction
Test coverage, method
50%of lines run by tests

Metadata and package cache for CRAN-like repositories. This is a utility package to be used by package management tools that want to take advantage of caching.

Maintainer
Gábor Csárdi
Latest release
9 Apr 2026
First release
31 Dec 2018

Compare with another package

More details
Releases
26
Needs compilation
Yes
Needs R
>= 3.4
Config/Needs/website
tidyverse/tidytemplate
Config/testthat/edition
3
Config/usethis/last-upkeep
2025-04-30
Language
en-US
RoxygenNote
7.3.2.9000
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("pkgcache")
APA
Csárdi, G., & Posit Software, PBC. (2026). pkgcache: Cache 'CRAN'-Like Metadata and R Packages (Version 2.2.5) [Computer software]. https://doi.org/10.32614/CRAN.package.pkgcache
About

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA
Balamuta, J. J. (2026). R Observatory: Metrics for pkgcache version 2.2.5 [Data set]. HJJB, LLC. Data release v2026-10-28. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-28, which the citation names so these numbers can be found later.

All 13 check platforms pass.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    2.2.5
    Time taken
    87 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    2.2.5
    Time taken
    63 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    2.2.5
    Time taken
    63 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    2.2.5
    Time taken
    54 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    2.2.5
    Time taken
    171 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    2.2.5
    Time taken
    22 s
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    2.2.5
    Time taken
    85 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    2.2.5
    Time taken
    130 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    2.2.5
    Time taken
    78 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    2.2.5
    Time taken
    77 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    2.2.5
    Time taken
    22 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    2.2.5
    Time taken
    83 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    2.2.5
    Time taken
    107 s
  • 13 OK

Over time

No change since 5 Aug 2026

As a list (5)
ChangedWorst statusOKNotesWarningsErrors
5 Aug 2026OK13000
1 Aug 2026Note12100
9 Jun 2026OK13000
8 Jun 2026Error12001
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
20,494It is the sum of 5 channels: CRAN, r2u, autoCRAN, conda-forge and c2d4u.

CRAN rank

1,379 of 26,530

CRAN

6,613 downloads in the last 30 days

Rank
1,379 of 26,530
Change
+3.7% up on the 30 days before, the better direction

It is in the total. Take it out

r2u

161 downloads in the last 30 days

Rank
1,903 of 30,526
Change
+59.4% up on the 30 days before, the better direction

It is in the total. Take it out

autoCRAN

3 downloads in the last 30 days

Rank
17,776 of 29,212
Change
−81.3% down on the 30 days before, the worse direction

It is in the total. Take it out

conda-forge

13,717 downloads in the last 30 days

Rank
375 of 3,828
Change
+19.8% up on the 30 days before, the better direction

It is in the total. Take it out

c2d4u, no longer updated

0 downloads in the last 30 days

Rank
6,270 of 7,575
Change
−100% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
9
Dependent packages
1
Suggested by
3
Needs (9)
Installing it adds
9 packages, 2.9 MB of source
Of those, need compilation
6
Optional extras (14)
Dependent packages (1)
PackageTitleDownloads in 30 days
pkgdependsPackage Dependency Resolution and Downloads4,844
Functions
488
Public exports
44
Lines of R code
15,351
Median complexity
2
Functions (488)
Size and composition

Lines by kind (34,100)

KindLinesShare
R code15,35145%
Tests15,33045%
Documentation2,0516%
Compiled code1,3684%

Lines by language

LanguageLinesShare
R25,48975%
Markdown3,63611%
Rd2,0516%
Other1,5535%
C1,3684%
JSON30%

Languages are counted from file extensions.

Files
360
R functions
463
Compiled functions
25
Object systems
S3: 3 methods, R6: 10 classes
Complexity
Median
2
Mean
2.8
Highest
27
Median lines per function
9
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
463
Calls
616
Unconnected
98
Groups
6
Growth (26 releases)
Total lines by release
14,139 on 31 Dec 201834,100 on 9 Apr 2026
Release changes

Coverage was measured, but at least one test failed during the run.

Lines run by tests
49.6%
Expressions run by tests
47.6%
Test cases
469
Exports named in tests
93.2%
Coverage by file (30)
Coverage run
Lines counted
5,197
Lines the tests ran
2,577
Tests passed
No
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat, tinytest
Test cases
469
Snapshot tests
235
Lines of tests
15,330
Test lines per line of code
1
Exports documented
100%
Arguments documented
97.8%
Return value documented
72.7%
Help pages with examples
59.4%
Examples run in checks
100%
Other documentation
README
Yes, 888 words
Release notes file
Yes
Help pages
32
Lines of documentation
2,051

Funded by Posit Software, PBC

Earlier names (1)
  • RStudio

r-lib / pkgcache on github.com

Stars
30
Forks
19
Open issues
12
Last commit
27 Sep 2026
Activity
Commits
778
Open pull requests
1
Tagged releases
25
Latest tagged release
v2.2.5, 9 Apr 2026
In development
Default branch at 2.2.5.9000, ahead of CRAN 2.2.5 (checked 2026-10-25)
Issues closed in
6 days (median)
Pull requests closed in
0 days (median)
Pull requests merged
88%
Created
12 Sep 2018
Licence file reads as
–
Development practices (14)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Governance and communityCode of conduct, Contributing guide
Docs sourceREADME.Rmd, pkgdown
GitHub Pages site last deployed 2026-09-27
The repository has a site deploy workflow
pkgdown site last built 2026-04-09
CoverageCoverage reporting (Codecov), .covrignore
Lint, format, editorLint workflow, Air, VS Code, RStudio project

Method, repository practices

Across r-lib

R releases
  • On CRAN
  • Release
VersionReleasedR
2.2.5 current9 Apr 20264.5.3
2.2.426 May 20254.5.0
2.2.312 Sep 20244.4.1
2.2.24 Apr 20244.3.3
2.2.110 Dec 20234.3.2
2.2.0.118 Jul 20234.3.1
2.2.018 Jul 20234.3.1
2.1.114 Jun 20234.3.0
Earlier versions (18)
VersionReleasedR
2.1.018 Apr 20234.2.3
2.0.416 Dec 20224.2.2
2.0.326 Oct 20224.2.1
2.0.28 Sep 20224.2.1
2.0.119 Feb 20224.1.2
2.0.016 Feb 20224.1.2
1.3.029 Nov 20214.1.2
1.2.219 May 20214.1.0
1.2.114 Apr 20214.0.5
1.2.01 Mar 20214.0.4
1.1.111 Oct 20204.0.3
1.1.07 Jul 20204.0.0
1.0.718 Apr 20203.6.3
1.0.630 Jan 20203.6.2
1.0.531 May 20193.6.0
1.0.413 May 20193.6.0
1.0.311 Jan 20193.5.2
1.0.231 Dec 20183.5.2
Release notes (2.2.5)
  • pkgcache now supports comments in DESCRIPTION and PACKAGES files. Current R-devel supports this since https://github.com/wch/r-source/commit/92d9660517ceae66d422a510dc58e0840d55cdfc. Comments are lines that start with a hash (#), without leading whitespace. Comments within values are also supported (#130).
  • pkgcache now does not fail if Bioconductor is unreachable and Bioconductor repositories are off (#131).
  • pkgcache now supports macOS binaries on R 4.6.x and later.