[R-pkg-team] Bug#1089197: Bug#961138: autodep8 uses host APT packages to generate dependencies for pkg-r-autopkgtest tests

Andreas Tille tille at debian.org
Fri Aug 22 22:00:45 BST 2025


Hi Jochen,

thanks for the patch.  You might have read that I will not have
time next week but I'll put it on high priority in about 10 days.

Thanks a lot
   Andreas.

Am Fri, Aug 22, 2025 at 09:19:38PM +0200 schrieb Jochen Sprickerhof:
> 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
> 
> 



-- 
https://fam-tille.de



More information about the R-pkg-team mailing list