On 15 May 2026 at 17:17, Charles Plessy wrote:
| On Fri, 24 Apr 2026 22:45:14 +0300 Adrian Bunk <[email protected]> wrote:
| > Package: r-cran-rcpp
| > Version: 1.1.1-2
| > Severity: serious
| > X-Debbugs-Cc: Debian R Packages Maintainers 
<[email protected]>
| > Control: affects -1 src:r-cran-bridgesampling src:r-cran-later
| > Control: block 1130280 by -1
| > Control: block 1130385 by -1
| 
| Hi all,
| 
| for the record, I am fixing dh-r to handle this case.  (Not yet in the 
| main branch, but will be).
| 
| 
https://salsa.debian.org/r-pkg-team/dh-r/-/commit/65d131312439348304a6474a4deb541a4b606e12
| 
| I have updated r-cran-bridgesampling and r-cran-later accordingly, and 
| future needs should be handled automatically.

The issue really is between run-time dependencies (in Depends:) and
build-time dependencies (in Build-Depends:). Package relying on Rcpp _to be
built_ (by far the majority) of course need build-essential, and get it.

But one may use Rcpp at run-time too. Less common, but entirely doable and
also use by some. The regexp you use there may be a little too expansive. We
for example use sourceCpp in the special case of unit tests. Those are
commonly used at build-time, but this may now seep into run-time.

I usually find whitelists (ie declare for selected packages 'abc' and 'def'
they a need additional package 'xyz') a better solution when I work with
these interpackage relationship.

| Have a week-end,

Hard to avoid ;-)   (I am worse with typos and not proof-reading emails)

Cheers, and have a nice week-end which for you has almost started.

Dirk

-- 
Dirk Eddelbuettel | [email protected] | http://dirk.eddelbuettel.com

Support my Tour de Shore 2026 ride benefiting Maywood Fine Arts! More info at
https://dirk.eddelbuettel.com/blog/2026/04/03#sponsor_tour_de_shore_2026

Reply via email to