Releases: r-lib/pkgcache
pkgcache 2.0.2
-
pkgcache error messages are better now.
-
pkgcache now does not compress the metadata cache files, which makes
loading the metadata cache faster.
v2.0.1
No user visible changes.
v2.0.0
BREAKING CHANGE
-
Starting from version 2.0.0 pkgcache returns data frames instead
of tibbles. While data frames and tibbles are very similar, they are
not completely compatible. To convert the output of pkgcache to tibbles
call theas_tibble()function on them.pkgcache loads the pillar package at startup, if available, and uses it
to improve the printing of pkgcache data frames.
OTHER CHANGES
-
parse_packages()now automatically determines the type of thePACKAGES*
file, instead of relying on file extensions. -
pkgcache can now call back again to a
PACKAGESfile ifPACKAGES.gzis
not available. (This fixes a regression in pkgcache 1.3.0.) -
pkgcache now uses HTTP 1.1 on Linux as well, because of crashes with
HTTP/2. -
pkgcache now supports
file:///, repositories, i.e. repositories on
the local file system.
v1.3.0
-
pkgcache now works better on M1 macs.
-
current_r_platform()does a much better job now. In particular, on
Linux it includes the name and release of the distribution.
The newcurrent_r_platform_data()function returns the platform information
as a data frame, instead of a single string. -
Metadata is now more accurate for Windows packages that are typically
not multi-arch any more on R 4.2.0 (current R-devel). -
pkgcache has its own DCF metadata parser now, which is much faster, and
it parses all fields ofPACAKGES*andDESCRIPTIONfiles. -
New
parse_installed()function to get the metadata of all installed
packages in a library. It uses the new DCF parser, so it is quite fast. -
meta_cache_list()and related functions now correctly set the
rversioncolumn of source R packages to"*". -
pkgcache now users HTTP 1.1 on macOS, to work around a possible
slowdown issue with libcurl for HTTP/2. -
pkgcache now uses our extra metadata (file sizes, system requirements,
etc.) for RStudio Package Manager (RSPM) repositories as well, as long
as they are namedRSPMingetOption("repos").
v1.2.2
- The default location of the cache has changed to align with the
standardtools::R_user_dir()cache location. To clean up your old
cache callpkgcache:::cleanup_old_cache_dir().
v1.2.1
No user visible changes.
v1.2.0
-
New
repo_add(),repo_get(),repo_resolve()andwith_repo()
functions to query and manipulate repositories. -
meta_cache_*()functions now handlegetOption("repos")changes
correctly. -
Failed metadata downloads now do not trigger metadata updates (#52).
-
New
bioc_release_version(),bioc_devel_version(),bioc_repos()
helper functions to deal with Bioconductor repositories. -
Metadata cache functions, e.g.
meta_cache_deps()etc. now allow
specifying the dependency types in all lowercase (#54).
v1.1.1
-
package_cachenow does not fail if the web server does not send an
Etagheader when downloading packages. -
package_cachehas now much relaxed HTTP timeouts, and handles
downloading many packages (slowly) much better. -
The package download progress bar can now be supressed by setting
thepkg.show_progressoption toFALSE.
v1.1.0
-
New
repo_status()function to query the status and response time
of CRAN-like repositories. -
New
bioc_version()andbioc_version_map()functions to query
Bioconductor repositories. -
pkgcache now does not fail if some repositories do not provide
some package types. -
New
current_r_platform(),default_cran_mirror()and
default_platforms()functions. -
pkgcache now works for R 4.0.x macOS binaries.