Releases: r-lib/pak
Release list
pak 0.11.0
-
pak now supports the
configure_argsandconfigure_varsconfiguration
options. They default to theconfigure.argsandconfigure.vars
options, for compatibility withinstall.packages()(#788). -
GitHub remotes now auto-detect an R package in a well-known subdirectory
(pkg-r/,r/, orR/) when nosubdiris given and there is no
DESCRIPTIONat the repository root. This lets multi-language
repositories be installed without specifyingsubdir(#459). -
pak now handles the case when a repository (typically Posit Package
Manager) serves a source package instead of the requested binary (#891). -
Better error messages for several dependency solver situations:
- when requesting a package that is installed locally, but was removed
from its repository (#895), - when requesting an older version (e.g.
pkg@1.0.0) of a package that
is no longer in the repository (#896), - when resolving downloads for a different platform
(r-lib/pkgdepends#462).
- when requesting a package that is installed locally, but was removed
-
The dependency solver no longer silently keeps an installed package as
the solution for a direct package reference that failed to resolve, e.g.
a CRAN package that is not on CRAN but happens to be installed locally
from another source. pak now reports the failure instead. -
install_argsis no longer overwritten when building packages. The
--no-multiarchflag needed on some Windows configurations is now added
to the existinginstall_args
(r-lib/pkgdepends#472). -
Duplicate system requirement commands are now deduplicated (#888).
-
pak now behaves better when the package cache database is corrupt: it
gives a better error message, and cleaning the cache no longer fails in
this case (#884). -
pak now handles
PACKAGESfiles withPathand/orFilefields
correctly, and drops HTTP query parameters from these fields when
constructing the target file name
(r-lib/pkgcache#141, @jeroen). -
All HTTP requests now honor the
pkgcache_http_versionoption and the
PKGCACHE_HTTP_VERSIONenvironment variable
(r-lib/pkgcache#140). -
pak now retries failed HTTP requests by default, using an exponential
backoff (and honoring theRetry-Afterheader). Set thePKG_HTTP_RETRY
environment variable or thepkg_http_retryoption toFALSEto disable
retries.
pak 0.10.0
- pak now supports Posit Package Manager's Sigle Sign-On authentication.
pak 0.9.5
pak 0.9.4
pak 0.9.3
-
Setting
use_bioconductor = FALSE(i.e. thePKG_USE_BIOCONDUCTOR
env var, or thepkg.use_bioconductoroption) now truly prevents
any network contact with Bioconductor. -
pak now supports macOS binaries on R 4.6.x and later.
-
pak can now consider installed packages in mutliple
libraries, when installing packages. Pass a character vector
of library path as thelibargument ofpkg_install().
pak 0.9.2
pak 0.9.1
-
pak is now more tolerant with extraneous whitespace in
PACKAGES*
metadata files (#785). -
pak now builds again on FreeBSD (#790).
-
Installing dependencies of a package file with
deps::<filename>
works again (#784). -
pak now always uses the correct working directory in the subprocess;
this was a common source of errors. -
New (nightly) binary builds for aarch64 Windows.
-
We do not build binary builds for the release candidate of pak any
more, only for stable and devel pak.rcis an alias tostablenow.
pak 0.9.0
-
pak now supports HTTP basic authentication for CRAN-like repositories.
See 'Authenticated repositories' in the reference manual. -
New function
scan_deps()to auto-detect package dependencies from
R code.deps::.automatically uses detected dependencies now if no
DESCRIPTIONfile is found. -
The dependency solver now uses better heuristics, that works better
(=faster) with multiple repositories with large overlaps
(r-lib/pkgdepends#392). -
pak is now much better at detecting the correct Linux distribution
when deciding about PPM and system requirements support. -
pak now uses the
use_bioconductorconfiguration option inmeta_*()and
repo_*()functions (#295, #726, @meztez).