-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (20 loc) · 703 Bytes
/
Makefile
File metadata and controls
24 lines (20 loc) · 703 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
# load.R fixes a bug with devtool's `help` to enable `help` on
# functions in this package, as well as loading the package
LOAD=R_PROFILE=load.R
RFRESH=R --no-init-file --no-environ --no-restore -q
# --vanilla doesn't work with R_PROFILE (because of --no-site-info)
interactive:
@$(LOAD) R -q --no-save
interactive-emacs:
@$(LOAD) emacs -nw -f R
.devtools:
@$(LOAD) $(RFRESH) -e "library(devtools); devtools:::$(FUNC)()"
dependencies: FUNC=install_deps
test: FUNC=test
check: FUNC=check
document: FUNC=document
vignette: FUNC=build_vignettes
clean: FUNC=clean_vignettes
#build: FUNC=build # Can be re-enabled as needed
#build: .devtools
dependencies test check document vignette clean: .devtools