-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (15 loc) · 758 Bytes
/
Copy pathMakefile
File metadata and controls
22 lines (15 loc) · 758 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.PHONY: test check document install website help
help: ## Show this help
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-15s\033[0m %s\n", $$1, $$2}'
test: ## Run tinytest::test_all()
Rscript -e "pkgload::load_all('.'); tinytest::test_all('.')"
testall: ## Run all tests including NYC taxi and binsreg
DBREG_TEST_NYC=TRUE Rscript -e "pkgload::load_all('.'); tinytest::test_all('.')"
check: ## Full R CMD check (no manual)
R CMD build . && R CMD check --no-manual *.tar.gz
document: ## Regenerate man pages
Rscript -e "devtools::document('.')"
install: ## Install package locally
R CMD INSTALL .
website: ## Build docs website (altdoc)
Rscript -e "altdoc::render_docs(freeze = TRUE)"