/usr/share/doc/r-cran-mlmrev/run-unit-test is in r-cran-mlmrev 1.0-6-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | #!/bin/sh -e
pkg=r-cran-mlmrev
if [ "$ADTTMP" = "" ] ; then
ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
fi
cd $ADTTMP
cp -a /usr/share/doc/${pkg}/tests/* $ADTTMP
find . -name "*.gz" -exec gunzip \{\} \;
for testx in `ls *.R` ; do
LC_ALL=C.UTF-8 R --no-save < $testx
done
|