dwww Home | Show directory contents | Find package

#!/bin/sh -e

export LC_ALL=C.UTF-8

pkgname=usethis
debname=r-cran-usethis

if [ "$AUTOPKGTEST_TMP" = "" ] ; then
    AUTOPKGTEST_TMP=`mktemp -d /tmp/${debname}-test.XXXXXX`
    trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM
fi

cp -a * $AUTOPKGTEST_TMP
cd $AUTOPKGTEST_TMP

cd tests
for testfile in *.R; do
    echo "BEGIN TEST $testfile"
    R --no-save < ${testfile}
done

Generated by dwww version 1.15 on Thu Jun 27 23:36:21 CEST 2024.