#!/bin/sh -e

DIR=`mktemp -d`
cd $DIR
cp -a /usr/share/doc/r-cran-spatstat/tests/* .
LC_ALL=C R --no-save < alltests.R
cd ..
rm -rf $DIR
