Skip to content

Releases: r-lib/pak

pak 0.11.0

Choose a tag to compare

@gaborcsardi gaborcsardi released this 16 Jul 07:14
  • pak now supports the configure_args and configure_vars configuration
    options. They default to the configure.args and configure.vars
    options, for compatibility with install.packages() (#788).

  • GitHub remotes now auto-detect an R package in a well-known subdirectory
    (pkg-r/, r/, or R/) when no subdir is given and there is no
    DESCRIPTION at the repository root. This lets multi-language
    repositories be installed without specifying subdir (#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).
  • 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_args is no longer overwritten when building packages. The
    --no-multiarch flag needed on some Windows configurations is now added
    to the existing install_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 PACKAGES files with Path and/or File fields
    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_version option and the
    PKGCACHE_HTTP_VERSION environment variable
    (r-lib/pkgcache#140).

  • pak now retries failed HTTP requests by default, using an exponential
    backoff (and honoring the Retry-After header). Set the PKG_HTTP_RETRY
    environment variable or the pkg_http_retry option to FALSE to disable
    retries.

pak 0.10.0

Choose a tag to compare

@gaborcsardi gaborcsardi released this 07 Jun 14:37
  • pak now supports Posit Package Manager's Sigle Sign-On authentication.

pak 0.9.5

Choose a tag to compare

@gaborcsardi gaborcsardi released this 27 Apr 11:12
  • Vector valued library path now works correctly in lockfile_create()
    (#864, #868).

  • pak now handles better PPM binaries on private PPM instances (#863).

pak 0.9.4

Choose a tag to compare

@gaborcsardi gaborcsardi released this 17 Apr 08:28
  • pak now works again with custom HTTPS certificates (#647, @tl-hbk).

pak 0.9.3

Choose a tag to compare

@gaborcsardi gaborcsardi released this 09 Apr 11:56
  • Setting use_bioconductor = FALSE (i.e. the PKG_USE_BIOCONDUCTOR
    env var, or the pkg.use_bioconductor option) 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 the lib argument of pkg_install().

pak 0.9.2

Choose a tag to compare

@gaborcsardi gaborcsardi released this 23 Dec 12:52
  • No user visible changes.

pak 0.9.1

Choose a tag to compare

@gaborcsardi gaborcsardi released this 01 Dec 10:09
  • 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. rc is an alias to stable now.

pak 0.9.0

Choose a tag to compare

@gaborcsardi gaborcsardi released this 27 May 12:45
  • 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
    DESCRIPTION file 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_bioconductor configuration option in meta_*() and
    repo_*() functions (#295, #726, @meztez).

pak 0.8.0.2

Choose a tag to compare

@gaborcsardi gaborcsardi released this 09 May 10:48

No changes

pak 0.8.0.1

Choose a tag to compare

@gaborcsardi gaborcsardi released this 09 May 10:46

No changes.