On Wed, Mar 14, 2018 at 08:17:27AM +0100, Andreas Tille wrote: > > Autotests would be cool. AFAIK the R community does not (yet) support is > > consistently enough. Can you point to a r-cran-* package leaning on > > r-cran-testthat that does? I may have started my analysis with random /bad/ > > spot checks after all... > > See at the end of this mail the output of > > grep r-cran-testthat r-*/debian/tests/control | sed 's#/.*##' | sort | uniq > > on my local clones. In (probably) all cases where I've written the > tests the trick was to keep a copy of the tests dir in > /usr/share/doc/PACKAGE and use a wrapper script (also there) that is > copying the tests to a temporary dir. Also note that the dh-make-R script from the dh-r package automatically creates this autopkgtest machinery when given the "--tests run-unit-test" option (works for both new and existing packages). -- ⢀⣴⠾⠻⢶⣦⠀ Sébastien Villemot ⣾⠁⢠⠒⠀⣿⡁ Debian Developer ⢿⡄⠘⠷⠚⠋⠀ http://sebastien.villemot.name ⠈⠳⣄⠀⠀⠀⠀ http://www.debian.org
Attachment:
signature.asc
Description: PGP signature