Bug#904985: lintian: Check for R packages wrongly set Architecture to any instead all
Package: lintian
Version: 2.5.94
Severity: wishlist
Hi,
A common mistake in R packaging is to set Architecture to any instead
all [1]. Only R packages with "NeedsCompilation: yes" in their
DESCRIPTION files (Debian Control File format) must be marked any [1].
So, all R packages (r-cran- or r-bioc- or r-other-) with this field
set to "no" must be marked as all and not any.
I fixed a batch of deb R packages but to avoid new one incorrectly
marked any, a lintian test would be great.
Best,
Dylan
[1] https://qa.debian.org/bls/bytag/I-no-compiler-commands.html
[2] https://cran.r-project.org/doc/manuals/r-devel/R-exts.html#The-DESCRIPTION-file
Reply to: