Package: src:r-cran-epi Version: 2.19-1 Severity: important Tags: patch first step to fix the r-cran-epi autopkg tests, by making sure that a required file is found. However the tests still fail.
diff -Nru r-cran-epi-2.19/debian/changelog r-cran-epi-2.19/debian/changelog --- r-cran-epi-2.19/debian/changelog 2017-10-12 14:57:22.000000000 +0000 +++ r-cran-epi-2.19/debian/changelog 2017-11-21 11:58:49.000000000 +0000 @@ -1,3 +1,9 @@ +r-cran-epi (2.19-1ubuntu1) bionic; urgency=medium + + * Fix autopkg tests by copying required files to the test directory. + + -- Matthias Klose <d...@ubuntu.com> Tue, 21 Nov 2017 12:58:49 +0100 + r-cran-epi (2.19-1) unstable; urgency=medium * New upstream version diff -Nru r-cran-epi-2.19/debian/tests/run-unit-test r-cran-epi-2.19/debian/tests/run-unit-test --- r-cran-epi-2.19/debian/tests/run-unit-test 2017-10-12 14:57:22.000000000 +0000 +++ r-cran-epi-2.19/debian/tests/run-unit-test 2017-11-21 11:56:04.000000000 +0000 @@ -6,8 +6,11 @@ ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX` fi cd $ADTTMP -cp /usr/share/doc/$pkg/examples/vignettes/* $ADTTMP -gunzip *.gz +cp /usr/share/doc/$pkg/examples/vignettes . +gunzip vignettes/*.gz +mkdir R +cp /usr/lib/R/site-library/Epi/doc/simLexis.R R/. +cd vignettes for rnw in `ls *.[rR]nw` ; do rfile=`echo $rnw | sed 's/\.[rR]nw/.R/'` R --no-save <<EOT