File: check

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 (23 lines) | stat: -rwxr-xr-x 443 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

set -o errexit
set -o nounset
set -o noclobber

if [ ! -e ./tools/check ]; then
  echo "$0 must be run from the top of the project tree"
  exit
fi

./tools/build
cd staging

cran=--as-cran
#cran=

pkg=rpf

# inconsolata is not available from tlmgr; set R_RD4PDF to avoid it
R_RD4PDF="times,hyper" R CMD check $cran ${pkg}_*.tar.gz || true
cat ${pkg}.Rcheck/00install.out
echo Manual is here, staging/${pkg}.Rcheck/${pkg}-manual.pdf