/usr/share/doc/r-cran-bradleyterry2/run-unit-test is in r-cran-bradleyterry2 1.0-8-1.
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 14 15 16 | #!/bin/sh -e
pkgname=BradleyTerry2
debname=r-cran-bradleyterry2
if [ "$ADTTMP" = "" ] ; then
ADTTMP=`mktemp -d /tmp/${debname}-test.XXXXXX`
trap "rm -rf $ADTTMP" 0 INT QUIT ABRT PIPE TERM
fi
cd $ADTTMP
cp -a /usr/share/doc/$debname/tests/* $ADTTMP
gunzip -r *
for testfile in *.R; do
echo "BEGIN TEST $testfile"
LC_ALL=C R --no-save < $testfile
done
|