/usr/share/doc/r-bioc-biovizbase/run-unit-test is in r-bioc-biovizbase 1.12.3-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 17 18 | #!/bin/sh -e
oname=biovizBase
pkg=r-bioc-`echo $oname | tr [A-Z] [a-z]`
if [ "$ADTTMP" = "" ] ; then
ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
fi
cd $ADTTMP
cp /usr/share/doc/$pkg/examples/vignettes/* $ADTTMP
find . -name "*.gz" -exec gunzip \{\} \;
for rnw in `ls *.[rRS]nw` ; do
rfile=`echo $rnw | sed 's/\.[rRS]nw/.R/'`
R --no-save <<EOT
Stangle("$rnw")
source("$rfile", echo=TRUE)
EOT
done
rm -rf *
|