#!/bin/sh

if ! test -x util/test; then
  echo "$0: Error, run from the top level"
  exit 1
fi

R --no-save <<EOF
library(testthat)
test_dir("inst/tests/", reporter="summary")
EOF
