r-cran-pak 0.11.1+dfsg-1
Package Information
| Description | Another Approach to Package Installation The goal of 'pak' is to make package installation faster and more reliable. In particular, it performs all HTTP operations in parallel, so metadata resolution and package downloads are fast. Metadata and package files are cached on the local disk as well. 'pak' has a dependency solver, so it finds version conflicts before performing the installation. This version of 'pak' supports CRAN, 'Bioconductor' and 'GitHub' packages as well. |
|---|---|
| Maintainer | Debian R Packages Maintainers <r-pkg-team@alioth-lists.debian.net> |
| Changed By | Charles Plessy <plessy@debian.org> |
| Sponsor | plessy@debian.org |
| Distribution | unstable |
| Architecture | any |
| VCS | git: https://salsa.debian.org/r-pkg-team/r-cran-pak.git (browse) |
| Tracker | https://tracker.debian.org/pkg/r-cran-pak |
| Uploaded | 3 hours ago |
New Package Report
.changes
| Version | 0.11.1+dfsg-1 |
|---|---|
| Changed-By | Charles Plessy <plessy@debian.org> |
| Architecture | source amd64 |
| Distribution | unstable |
| Date | Wed, 25 Nov 2026 14:25:57 +0900 |
| Source | r-cran-pak |
Changelog
r-cran-pak (0.11.1+dfsg-1) unstable; urgency=medium . * Initial release (needed by: r-cran-usethis)
.dsc
| Component | main |
|---|---|
| Package-List | r-cran-pak deb gnu-r optional arch=any |
| Section | gnu-r |
| Priority | optional |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Source: https://cran.r-project.org/package=pak Upstream-Name: pak Upstream-Contact: Gábor Csárdi <csardi.gabor@gmail.com>, Files-Excluded: src/library/R6 src/library/callr src/library/cli src/library/curl src/library/desc src/library/filelock src/library/jsonlite src/library/keyring src/library/lpSolve src/library/pkgbuild src/library/processx src/library/ps src/library/yaml src/library/zip src/library/pkgdepends/src/tree-sitter/lib src/library/pkgdepends/src/yaml src/library/tsitter/src/tree-sitter/lib Comment: The R packages that pak embeds and that are available in Debian are removed from src/library; the Debian packages are linked into pak's private library instead. The embedded copies of the tree-sitter runtime library and of libyaml are removed as well; pkgdepends and tsitter link to the Debian libraries instead. See debian/README.source. Files: * Copyright: Gábor Csárdi, Jim Hester, Posit Software, PBC (ROR: <https://ror.org/03wc8by49>), Winston Chang (R6, callr, processx), Ascent Digital Services (callr, processx), Hadley Wickham (cli, curl, pkgbuild, yaml), Jeroen Ooms (curl, jsonlite), Maëlle Salmon (desc, pkgsearch), Duncan Temple Lang (jsonlite), Lloyd Hilaiel (jsonlite), Alec Wong (keyring), Michel Berkelaar and lpSolve authors (lpSolve), R Consortium (pkgsearch), Jay Loden (ps), Dave Daeschler (ps), Giampaolo Rodola (ps), Shawn Garbett (yaml), Jeremy Stephens (yaml), Kirill Simonov (yaml), Yihui Xie (yaml), Zhuoer Dong (yaml), Jeffrey Horner (yaml), Will Beasley (yaml), Brendan O'Connor (yaml), Gregory Warnes (yaml), Michael Quinn (yaml), Zhian Kamvar (yaml), Charlie Gao (yaml), Kuba Podgórski (zip), Rich Geldreich (zip) 2017-2024 Posit Software, PBC (formerly RStudio) RStudio License: GPL-3 Files: src/library/pkgcache/* Copyright: 2025 pkgcache authors Gábor Csárdi Posit Software, PBC License: MIT Files: src/library/pkgdepends/* Copyright: 2025 pkgdepends authors Gábor Csárdi Posit Software, PBC License: MIT Files: src/library/pkgdepends/inst/sysreqs/* Copyright: 2019 RStudio, Inc. License: MIT Comment: Rules copied from https://github.com/r-hub/r-system-requirements (commit recorded in inst/sysreqs/HEAD), whose LICENSE file states "The MIT License / Copyright (c) 2019 RStudio, Inc.". The statement is not shipped in pak; see debian/README.source. Files: src/library/pkgsearch/* Copyright: 2023 pkgsearch authors Gábor Csárdi Maëlle Salmon License: MIT Files: src/library/tsitter/* Copyright: 2025--2026 ts authors Gábor Csárdi Tree-sitter authors Posit Software, PBC (formerly RStudio) License: MIT Files: src/library/tstoml/* Copyright: 2025 tstoml authors Gábor Csárdi Tree-sitter authors Posit Software, PBC (formerly RStudio) License: MIT Files: debian/* Copyright: 2026 Debian R Packages Maintainers <r-pkg-team@alioth-lists.debian.net> License: GPL-3 License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. License: GPL-3 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 3 of the License. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . On Debian systems you can find the full text of the GNU General Public License version 3 at /usr/share/common-licenses/GPL-3.
DFSG Assistant LLM REVIEW 0 blocker, 1 important, 3 minor
This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.
Reviewed 1 hour ago.
Report
DFSG NEW review for r-cran-pak version 0.11.1+dfsg-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: No
- Issues: 0 blocker, 1 important, 3 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: 20 found
Licensing
DFSG-compliant: pak is GPL-3 and the embedded pkgcache, pkgdepends, pkgsearch, tsitter and tstoml code, the copied r-system-requirements rules and the tree-sitter grammar parser.c are MIT, with the full MIT text and a /usr/share/common-licenses/GPL-3 pointer in debian/copyright; no non-free or field-of-use terms anywhere. debian/copyright is DEP-5 and matches the tree stanza by stanza. The only gap is that the holder named in src/library/tsitter/LICENSE.note (Max Brunsfeld) is not listed; Policy 2.3 does not require that notice, which I report as minor.
Packaging
The structure is sound (compat 14, dh-r's R buildsystem, DEP-3 patches with series, Vcs-*, 3.0 quilt, all dependency versions satisfiable), but the packaging embeds pkgsearch although Debian already ships r-cran-pkgsearch 3.1.5, contrary to Policy 4.13; debian/README.source's statement that pkgsearch is 'not in Debian' is wrong. In addition the autopkgtest executes no tests at all because tests/testthat.R is gated on NOT_CRAN, which debian/tests/run-unit-test does not set.
Issues
important packaging 1. src/library/pkgsearch embeds pkgsearch 3.1.5 although Debian ships r-cran-pkgsearch 3.1.5 ◂
- Files:
src/library/pkgsearch/,src/library/pkgsearch/DESCRIPTION:3,debian/README.source:14-15,debian/control,debian/r-cran-pak.links - Basis: checked, in the package or with a reference tool
- Evidence: src/library/pkgsearch/DESCRIPTION:
Version: 3.1.5; debian/README.source:14-15:pkgcache and pkgdepends (development snapshots that pak is released with), pkgsearch, tsitter and tstoml (not in Debian).; apt-cache show r-cran-pkgsearch:Version: 3.1.5-1. - Problem: Policy 4.13 says that where the included code is already in the Debian archive as a library, the packaging must reference that library and not use the convenience copy. pkgsearch is in Debian at exactly the embedded version, but src/library/pkgsearch is kept, built and installed into pak's private library by src/install-embedded.R (install_order() lists it and the 0.10 patch only filters packages that no longer exist), and pak::pkg_search() uses it (R/search.R:38). It is also the only embedded R package not covered by a debian/r-cran-pak.links symlink and a Depends entry. The README.source justification is factually wrong, unlike for pkgcache/pkgdepends (not in the archive) and tsitter/tstoml (not in the archive).
- Fix: Add src/library/pkgsearch to Files-Excluded in debian/copyright and drop its Files stanza, add
usr/lib/R/site-library/pkgsearch usr/lib/R/site-library/pak/library/pkgsearchto debian/r-cran-pak.links andr-cran-pkgsearch (>= 3.1.0)to Depends, and correct debian/README.source. The existing autopkgtest already depends on r-cran-pkgsearch, so the archive has a usable copy.
minor licensing 2. Files: src/library/tsitter/* does not name Max Brunsfeld, holder in src/library/tsitter/LICENSE.note ◂
- Files:
debian/copyright:91-96,src/library/tsitter/LICENSE.note:6 - Basis: checked, in the package or with a reference tool
- Evidence: src/library/tsitter/LICENSE.note:
Copyright (c) 2018--2026 Max Brunsfeldunder the MIT licence; the tsitter stanza names only2025--2026 ts authors,Gábor Csárdi,Tree-sitter authorsandPosit Software, PBC. - Problem: The individual holder of the MIT notice in this file is not named; 'Tree-sitter authors' is the DESCRIPTION's collective cph entry, not the holder in the notice. Policy 2.3 does not require it here: LICENSE.note is shipped as plain text with its notice intact, and the tree-sitter C library it documents is removed by Files-Excluded (debian/patches/use-system-tree-sitter-and-libyaml.patch links the Debian library), so the file does not reach the binary package. The DFSG team nevertheless asks for a complete copyright file.
- Fix: Add
Max Brunsfeldto the Copyright field of the tsitter stanza (or add aFiles: src/library/tsitter/LICENSE.notestanza withCopyright: 2018-2026 Max BrunsfeldandLicense: MIT).
minor packaging 3. autopkgtest executes no tests because tests/testthat.R is gated on NOT_CRAN ◂
- Files:
tests/testthat.R:15,debian/tests/run-unit-test:15 - Basis: checked, in the package or with a reference tool
- Evidence: tests/testthat.R:15:
if (Sys.getenv("NOT_CRAN") == "true") {around the only call to test_check(); debian/tests/run-unit-test:15:LC_ALL=C.UTF-8 R --no-save < $testfile, with no NOT_CRAN set anywhere. - Problem: The runner starts each tests/*.R file but NOT_CRAN is unset, so testthat.R never calls test_check() and exits successfully without running a single test. The autopkgtest therefore always passes vacuously and gives no regression coverage for a package with a large C/R test suite. test-repo.R additionally requires PAK_TESTS=true, so enabling the suite does not pull in the network test.
- Fix: Export NOT_CRAN=true in debian/tests/run-unit-test before the loop (or run R with
NOT_CRAN=true); the offline network tests skip themselves through skip_if_offline()/pingr.
minor packaging 4. Files-Excluded is set but debian/watch sets no repack suffix ◂
- Files:
debian/copyright,debian/watch - Basis: found by the review tooling's own checks
- Evidence:
0.11.1+dfsg-1 - Problem:
debian/copyrighthasFiles-Excluded, so uscan repacks the upstream tarball, butdebian/watchneither names the suffix the repacked version gets nor mangles the version. - Fix: Set
Repacksuffixindebian/watchto the suffix the version carries.
Verified ◂
- Read every file of debian/: control, rules, changelog, copyright, tests/control, tests/run-unit-test, patches/series and both patches, README.source, r-cran-pak.links, docs, source/format, upstream/metadata, salsa-ci.yml and lrc.config. Packaging is debhelper-compat 14 with dh-r's R buildsystem and 3.0 (quilt); Standards-Version 4.7.4 matches the Policy 4.7.4.1 of the reviewing system.
- Inventoried the upstream tree directory by directory; a search for Copyright/(C)/©/SPDX/licence wording found notices only in src/library/{pkgcache,pkgdepends,pkgsearch,tsitter,tstoml}/LICENSE, src/library/tsitter/LICENSE.note, inst/COPYRIGHTS and debian/, all accounted for by the Files stanzas.
- Licence review: pak DESCRIPTION says GPL-3 (referenced to /usr/share/common-licenses/GPL-3); the five embedded R packages and the r-system-requirements rules are MIT with the full MIT text in debian/copyright; no non-commercial, no-modification, field-of-use or other non-free wording occurs anywhere in the tree.
- All Build-Depends/Depends versions checked with apt-cache and satisfiable in unstable: r-cran-jsonlite 2.0.0+dfsg-2, cli 3.6.6-1, curl 8.1.0+dfsg-1, processx 3.9.0-1, ps 1.9.3-1, callr 3.8.0-1, desc 1.4.3-2, filelock 1.0.3-2, pkgbuild 1.4.8-1, zip 3.0.2-1, r6 2.6.1-2, keyring 1.4.1-1, yaml 2.3.12-2, lpsolve 5.6.23-1, libtree-sitter-dev 0.26.11-1; the autopkgtest dependencies (covr, pkgload, rstudioapi, glue, withr, testthat, webfakes, pingr, gitcreds, pkgsearch) all exist.
- Compressed file inst/tools/pkg_1.0.0.tgz and src/library/pkgdepends/inst/tools/pkg_1.0.0.tgz: 2 KB gzipped tar whose single top-level entry is pkg/, a test fixture for pkgdepends' external-tar detection; README.source:49 records its DESCRIPTION says
Author: Gabor CsardiandLicense: GPL-2; it contains no code, the holder is named in the MIT stanza, and it is not a licensing problem. - Compressed fixtures inst/tools/xxx.bz2, inst/tools/xxx.gz, inst/tools/xxx.tar.gz, inst/tools/xxx.xz, inst/tools/xxx.zip and the same five files under src/library/pkgdepends/inst/tools/ contain the 4-byte text
xxx\n(xxx.zip read asxxx (4B)); nothing copyrightable. - src/library/pkgcache/inst/bioc-sysreqs.dcf.gz is gzipped control-file text generated by src/library/pkgcache/R/bioc-sysreqs.R (present); src/library/pkgdepends/inst/exdata/biocpackages.rds is an xz R serialisation of package names generated by a function in src/library/pkgdepends/R/name-check.R (present).
- src/library/pkgdepends/inst/docs/deps.rds, download-result.rds, lib-status-return.rds, pak-config-docs.rds, pkg-refs.rds, resolution-result.rds are gzipped R serialisations of Rd markup used by R/docs.R to build pak's man pages; the pkgdepends Rmd generators are not shipped, but the Rd text is the data itself and stays readable/editable with readRDS/saveRDS, so it is not an opaque built file.
- src/library/pkgdepends/src/tree-sitter/{r,markdown,markdown-inline,yaml}/ (the only file over 4 MiB is r/parser.c, 5.3 MB) are generated tree-sitter grammars with grammar.json present as the grammar definition (grammar.js present for the toml grammar in src/library/tstoml); the parser.c files have no licence or copyright header and are covered by the MIT stanzas.
- man/figures/.svg (pak diagrams plus the lifecycle- badges) carry no copyright or licence notices and are covered by Files: *.
- Files-Excluded names only paths absent from the tree; the 14 removed R packages are all listed in Depends and symlinked by debian/r-cran-pak.links, and the two Debian patches remove the embedded tree-sitter runtime and libyaml and keep only the grammar sources.
- uscan found upstream releases with
debian/watch; a newer upstream version is available (upstream0.11.2, packaged0.11.1+dfsg), which is not a fault of the package. - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (GPL-3).
Not confirmed ◂
- debian/copyright does not name the authors of the four third-party tree-sitter grammars compiled from src/library/pkgdepends/src/tree-sitter (README.source:38-42 says they stay embedded, and Debian ships only the markdown and yaml grammar sources); the parser.c/scanner.c files carry no copyright headers and no LICENSE, so I could not determine the holders from the package itself.
- In a cross-build (CROSS_COMPILING=yes) src/install-embedded.R install_dummies() at lines 137, 150 and 171 still installs the removed library/R6, library/processx and library/callr, which would fail; archive builds are native and never take this path, so I did not count it as a fault.
- The inner DESCRIPTION of inst/tools/pkg_1.0.0.tgz could not be opened with the available tools; its GPL-2 statement is taken from debian/README.source:49.
- Why the model asked for what a review has no use for. During this review it asked once for something outside the package and the reviewing system (another file of the sandbox, or a URL), or was given part of the review tooling's own configuration, and that was refused or withheld. A model does this when something it has read tells it to, so look in the package for text addressed to a reviewing program, and treat this report with suspicion. Refused:
read: "help://read/sources" is not a file of the package or of the reviewing system.
Proposed changes ◂
None.
Uploader's response to the LLM review
The uploader was emailed about the review 0 hours ago.