Skip to content

Commit bacc15a

Browse files
committed
updated make
1 parent 781c301 commit bacc15a

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-2
lines changed

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,11 @@ revdep: pkg
3333
mv *.tar.gz revdep
3434
R -s -e "out <- tools::check_packages_in_dir('revdep',reverse=list(which='most'),Ncpus=3); print(summary(out)); saveRDS(out, file='revdep/output.RDS')"
3535

36-
vignette:
37-
./vignettes.sh
36+
using:
37+
./using_tinytest.sh
38+
39+
examples:
40+
./tinytest_examples.sh
3841

3942
clean:
4043
rm -f pkg/vignettes/*.aux

tinytest_examples.sh

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/bin/bash
2+
3+
function finish {
4+
cd ${oldwd}
5+
}
6+
trap finish EXIT
7+
8+
oldwd=`pwd`
9+
10+
cd pkg/vignettes
11+
12+
R -e "Sweave(dir(pattern='tinytest_examples.Rnw'))"
13+
pdflatex tinytest_examples.tex
14+
pdflatex tinytest_examples.tex
15+
pdflatex tinytest_examples.tex
16+
17+
evince tinytest_examples.pdf &
18+
19+
20+
File renamed without changes.

0 commit comments

Comments
 (0)