File: test

package info (click to toggle)
r-cran-rpf 1.0.11%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,484 kB
  • sloc: cpp: 5,364; sh: 114; ansic: 41; makefile: 2
file content (11 lines) | stat: -rwxr-xr-x 189 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

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

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