-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (30 loc) · 717 Bytes
/
Makefile
File metadata and controls
41 lines (30 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
doc:
R -s -e "pkgload::load_all('pkg');roxygen2::roxygenize('pkg')"
pkg: doc
rm -f *.tar.gz
R CMD build pkg
check: doc
rm -rf *.tar.gz
R CMD build pkg
R CMD check *.tar.gz
cran: doc
rm -rf *.tar.gz
R CMD build pkg
R CMD check --as-cran *.tar.gz
install: doc
rm -rf *.tar.gz
R CMD build pkg
R CMD INSTALL *.tar.gz
test: doc
R -s -e "tinytest::build_install_test('pkg')"
manual: doc
R CMD Rd2pdf --force -o manual.pdf ./pkg
revdep: pkg
rm -rf revdep
mkdir revdep
mv *.tar.gz revdep
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')"
clean:
rm -rf *.Rcheck
rm -rf revdep
rm -f *.tar.gz