-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
40 lines (26 loc) · 1010 Bytes
/
Makefile
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
# Pipeline to build Penalized time-varying COX model
#setssh:
# git remote set-url origin [email protected]:CYGUBICKO/pcoxtime-pkg.git
######################################################################
## Create and install the package
build-package:
R CMD build .
check-win-release:
echo "devtools::check_win_release('.')" | R --slave
check-win-dev:
echo "devtools::check_win_devel('.')" | R --slave
install-package:
R CMD INSTALL pcoxtime_1.0.4.*
check-package:
echo "devtools::check('.')" | R --slave
update-export:
echo "Rcpp::compileAttributes('.')" | R --slave
update-doc:
echo "devtools::document('.')" | R --slave
install:
make update-export && make update-doc && make check-package && make build-package && make install-package
######################################################################
clean:
find . \( -name "\.#*" -o -name "*~" -o -name ".Rhistory" \) -exec rm {} \;
######################################################################
-include ~/personal.mk