[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Improve autodep8 for R packages



Hi all,

Many R packages have similar debian/tests/* files. I am wondering
whether we should improve autodep8 for R packages (i.e. the
"Testsuite: autopkgtest-pkg-r" field) to include these tests. The aim
is to remove these useless duplicates files (or at least to remove
duplicate parts).

Currently, autopkgtest-pkg-r only try to load the package in R [1], so
we can progressively add commons testsuites (i.e. testthat, runit,
etc).

If we decide to go into this direction, we will be able to override
this autopkgtest-pkg-r testsuite for specific packages which emit
errors with the standard testsuite.

Another question, for more flexibility should we move these tests from
[1] to a specific package like the perl team did with the package
pkg-perl-autopkgtest [2-3].

Because code is better than description, I wrote some untested parts
here [4-5] which need to be improve before to use.

What is your opinions?

Best,
Dylan

[1] https://anonscm.debian.org/cgit/collab-maint/autodep8.git/tree/support/r/generate
[2] https://anonscm.debian.org/cgit/collab-maint/autodep8.git/tree/support/perl/generate
[3] https://packages.debian.org/sid/pkg-perl-autopkgtest
[4] https://salsa.debian.org/daissi-guest/autodep8/commit/4987200a93
[5] https://salsa.debian.org/daissi-guest/dh-r/commit/e4050c97fc


Reply to: