Skip to content

Releases: r-lib/pak

pak 0.9.2

23 Dec 12:52

Choose a tag to compare

  • No user visible changes.

pak 0.9.1

01 Dec 10:09

Choose a tag to compare

  • 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

27 May 12:45

Choose a tag to compare

  • 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

09 May 10:48

Choose a tag to compare

No changes

pak 0.8.0.1

09 May 10:46

Choose a tag to compare

No changes.

pak 0.8.0

09 Aug 10:13

Choose a tag to compare

  • pkg_deps() now accepts a vector of package names.

  • 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 (#623).

  • pak now supports gitlab:: package sources better, by adding
    explicit syntax to specify subdirectories (r-lib/pkgdepends#353, @dgkf).

  • gitlab:: and git:: package sources now support git submodules if
    the git-submodules configuration option is set to TRUE. See
    ?"pak-config" (r-lib/pkgdepends#354).

  • The new ?ignore-unavailable parameter makes it easy to ignore soft
    dependencies that are unavailable (#606).

  • pak now automatically ignores soft dependencies that have an
    incompatible OS type (OS_type entry in DESCRIPTION) when installing
    packages.

  • repo_add() and the ppm_*() functions, e.g. ppm_snapshots(), now
    work again after the PPM API changes
    (r-lib/pkgcache#110,
    r-lib/pkgcache#115).

pak 0.7.2

17 Mar 20:40

Choose a tag to compare

  • pak now supports using parameters for all packages with the
    *=?<param> form. E.g. *=?source installs all packages from source.

  • pak now supports R 4.4.0 again, and also Rtools44.

pak 0.7.1

12 Dec 10:36

Choose a tag to compare

  • pak can now handle the case when Config/Needs/* dependencies
    are requested for package from a repository.

  • pak uses safer *printf() format strings now.

pak 0.7.0

17 Nov 17:44

Choose a tag to compare

pak 0.6.0

31 Aug 07:42

Choose a tag to compare

  • pak now requires R >= 3.5.0.

  • Many improvements in system requirements support:

    • New functions:
      • pkg_sysreqs(): calculate system requirements of packages.
      • sysreqs_db_list(), sysreqs_db_match(), sysreqs_db_update():
        query the system requirements database.
      • sysreqs_list_system_packages(), sysreqs_check_installed(),
        sysreqs_fix_installed(): query and install missing system packages.
      • sysreqs_platforms(): list supported platforms.
    • The installation proposal, printed before installation, now includes
      required and missing system packages, on supported platforms.
    • New sysreqs_platform configuration option to override the auto-detected
      platform.
    • Faster, asynchronous system requirements lookup.
    • pak now does not reinstall system requirements by default,
      if they are already installed. (You can force a reinstall/upgrade
      with the sysreqs_update configuration option.)
  • New gitlab:: package source to install packages from GitLab
    (r-lib/pkgdepends#315).

  • pak now correctly parses multiple git:: packages at once
    (r-lib/pkgdepends#318).

  • git:: package sources now support version 1 of the git protocol.
    E.g. the Bioconductor git repositories now work:
    git::https://git.bioconductor.org/packages/limma
    (r-lib/pkgdepends#314).

  • The platforms config parameter now works correctly with deps::
    package sources (#522).

  • New include_linkingto config parameter to always include LinkingTo
    packages in the solution, even for binaries
    (https://github.com/r-lib/pkgdepends/issues/485).

  • pkg_name_check() now does not include Acromine results, because the web
    site was unstable.

  • 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.