-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (27 loc) · 690 Bytes
/
Makefile
File metadata and controls
39 lines (27 loc) · 690 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
doc:
R -s -e "pkgload::load_all('pkg');roxygen2::roxygenize('pkg')"
pkg: doc
R CMD build pkg
install: pkg
R CMD INSTALL *.tar.gz
check: doc
R CMD build pkg
R CMD check *.tar.gz
cran: doc
R CMD build pkg
R CMD check --as-cran *.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')"
covr:
R -e 'covr::package_coverage("./pkg")'
clean:
rm -rf stringdist.Rcheck
rm -rf revdep
rm -f *.tar.gz