Skip to content

Releases: r-lib/pkgcache

pkgcache 2.2.4

27 May 06:13

Choose a tag to compare

  • parse_packages() now parses files ending with an extra newline
    correctly (#122).

  • pkgcache now supports authenticated repositories, see repo_auth()
    for details.

  • ppm_has_binaries() now works correctly on all platforms (#121).

  • The output of ppm_platforms() now has a new column called platform,
    which is a list column of character vectors, listing all possible
    matching platforms.

  • pkgcache now detects the platform and R version of R Universe binaries.

pkgcache 2.2.3

13 Sep 07:55

Choose a tag to compare

  • The metadata cache now does not use source URLs for packages in Archive
    on Posit Package Manager repositories. This URLs may serve a different
    package, even a source package when the main URL for the same package
    serves a binary package. The alternative URLs are not needed on PPM,
    anyway, because PPM is in a consistent state w.r.t. metadata and
    package files (r-lib/pak#623).

  • parse_packages() now does not throw a warning for empty PACKAGES*
    files (#107).

  • repo_set() and the ppm_*() functions, e.g. ppm_snapshots(), now
    work again after the PPM API changes (#110, #115).

pkgcache 2.2.2

04 Apr 09:44

Choose a tag to compare

  • pkgcache now treats R 4.5.x (current R-devel) macOS binaries
    correctly. It is also more robust to changes the in macOS platform.

pkgcache 2.2.1

10 Dec 23:17

Choose a tag to compare

  • pkgcache now does a better job when matching the R version to a
    Bioconductor version.

pkgcache 2.2.0

18 Jul 09:56

Choose a tag to compare

  • New pkg.current_platform option and PKG_CURRENT_PLATFORM environment
    variable to override the detected platform.

  • In repo_add() and repo_resolve() the MRAN@ prefix is now deprecated
    and resolves to PPM, because MRAN will be retired soon. See more at
    https://posit.co/blog/migrating-from-mran-to-posit-package-manager/.

  • The metadata cache now has SystemRequirements information for Bioconductor
    packages.

pkgcache 2.1.1

14 Jun 16:17

Choose a tag to compare

  • parse_installed() now has a packages argument, to list only a subset
    of all packages.

  • parse_packages() can now parse PACKAGES files with trailing
    whitespace (#93).

  • The Bioconductor repositories now include the 'books' repository,
    available since Bioconductor 3.12.

pkgcache 2.1.0

18 Apr 15:54

Choose a tag to compare

  • pkgcache now supports binary packages on x86_64 macOS and R 4.3.0 and
    later (#89).

  • Better Posit Package Manager (PPM) support. New ppm_has_binaries(),
    ppm_r_versions(), ppm_repo_url(), ppm_snapshots() and ppm_platforms()
    functions to help interacting with PPM. See the new 'pkgcache and Posit
    Package Manager on Linux' article at https://r-lib.github.io/pkgcache.
    (#47 and r-lib/pkgdepends#186).

pkgcache 2.0.4

17 Dec 09:37

Choose a tag to compare

  • Update R version -> Bioconductor version mapping. R 4.2.x now maps to
    Bioconductor 3.16.

pkgcache 2.0.3

27 Oct 07:29

Choose a tag to compare

  • The built and sysreqs columns of the metadata case are always
    character vectors now, and not logicals, as it used to be in some
    edges cases in the past.

  • The deps column of the metadata cache is not a tibble any more,
    but a data frame with a tbl class, as it should be.

  • cran_archive_*() functions now only download the metadata if it is newer
    than what you have currently.

  • cran_archive_cleanup() now does not ignore the force argument.

  • The sources column in the metadata cache now has the correct URL for
    packages in the CRAN archive (r-lib/pak#425).

pkgcache 2.0.2

08 Sep 12:36

Choose a tag to compare

  • pkgcache error messages are better now.

  • pkgcache now does not compress the metadata cache files, which makes
    loading the metadata cache faster.