File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed
Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1616^vignettes/articles$
1717^\.github$
1818^pkgdown/_pkgdown\.yml$
19+ ^Makefile$
Original file line number Diff line number Diff line change 1+ MAKEFLAGS = --silent --no-print-directory
2+
3+ PKG_NAME != grep -i "^package" DESCRIPTION | sed -E 's/^package[ :[:space:]]+//I'
4+ PKG_VER != grep -i "^version" DESCRIPTION | sed -E 's/^version[ :[:space:]]+//I'
5+
6+ .PHONY : rcpp document build install full-install check website
7+
8+ rcpp :
9+ Rscript -e ' Rcpp::compileAttributes(pkgdir = ".", verbose = TRUE)'
10+
11+ document :
12+ Rscript -e ' devtools::document(pkg = ".")'
13+
14+ build :
15+ Rscript -e ' devtools::build(pkg = ".", vignettes = FALSE)'
16+
17+ install :
18+ Rscript -e ' remotes::install_local(path = "../$(PKG_NAME)_$(PKG_VER).tar.gz", upgrade = "never", repos = BiocManager::repositories())'
19+
20+ full-install :
21+ ${MAKE} rcpp
22+ ${MAKE} document
23+ ${MAKE} build
24+ ${MAKE} install
25+
26+ check :
27+ Rscript -e ' devtools::check(pkg = ".", vignettes = FALSE)'
28+
29+ website :
30+ Rscript -e ' pkgdown::build_site(pkg = ".")'
You can’t perform that action at this time.
0 commit comments