/usr/share/doc/r-cran-r.methodss3/run-unit-test is in r-cran-r.methodss3 1.7.1-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 14 15 | #!/bin/sh -e
oname=R.methodsS3
pkg=r-cran-`echo $oname | tr '[A-Z]' '[a-z]'`
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 rfile in *.[rR] ; do
R CMD BATCH $rfile
done
rm -fr $ADTTMP/*
|