#! /bin/csh
cd ~/R/SAN
source SETUP
make -j10
./bin/Rscript -e 'update.packages(.Library, ask = F)'

cd ~/R/packages
echo "updating packages"
env DISPLAY=:5 ~/R/SAN/bin/Rscript tests-SAN/updates.R

cd ~/R/packages/tests-SAN
make all summary

~/R/M1-SAN-up