[R-pkg-team] Bug#1089197: Bug#961138: autodep8 uses host APT packages to generate dependencies for pkg-r-autopkgtest tests
Jochen Sprickerhof
jspricke at debian.org
Fri Aug 22 20:19:38 BST 2025
Hi Andreas,
as discussed in Brest, I have written a patch to dh-make/update-R to
hard code the dependencies:
https://salsa.debian.org/r-pkg-team/dh-r/-/merge_requests/9
Note that I don't have any experience with the tooling and only did some
minimal testing so would appreciate feedback.
Cheers Jochen
* Jochen Sprickerhof <jspricke at debian.org> [2025-03-02 08:36]:
>Hi Andreas,
>
>* Andreas Tille <tille at debian.org> [2025-03-01 22:39]:
>>if you can provide a patch / MR I'm fine to apply it but currently
>>I have no more free spoons to work on this.
>
>The real question here is how to solve #1089197, i.e. how to encode
>the package relationships without depending on the apt cache
>(grep-aptavail or rmadison or anything else that is network related).
>I have no experience with R packages so I would need some input here.
>Possible ways I see are:
>
>1. Don't add relations automatically and let the maintainer do it.
>
>2. Always add all package names from the DISCRIPTION file to Suggest:
> From my understanding this would need some mapping from the R
>package name to the Debian package name and maybe a rename of the
>Debian packages to simplify the mapping.
>
>3. Add the list of R package in Debian to dh-r and use it to convert
>the package name. Note that this needs to be updated whenever a R
>packages is added or removed in Debian. (This is what dh-python has,
>afair).
>
>Cheers Jochen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/r-pkg-team/attachments/20250822/a658e7b9/attachment.sig>
More information about the R-pkg-team
mailing list