We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 465b14d commit 3869404Copy full SHA for 3869404
Makefile
@@ -1,9 +1,28 @@
1
-all: move rmd2md
+RSCRIPT = Rscript --no-init-file
2
3
move:
4
- cp inst/vign/gistr.md vignettes/
5
- cp -rf inst/vign/img/* vignettes/img/
+ cp inst/vign/gistr.md vignettes/
+ cp -rf inst/vign/img/* vignettes/img/
6
7
rmd2md:
8
- cd vignettes;\
9
- mv gistr.md gistr.Rmd
+ cd vignettes;\
+ mv gistr.md gistr.Rmd
10
+
11
+install: doc build
12
+ R CMD INSTALL . && rm *.tar.gz
13
14
+build:
15
+ R CMD build .
16
17
+doc:
18
+ ${RSCRIPT} -e "devtools::document()"
19
20
+eg:
21
+ ${RSCRIPT} -e "devtools::run_examples()"
22
23
+check:
24
+ ${RSCRIPT} -e 'rcmdcheck::rcmdcheck(args = c("--as-cran"))'
25
26
+test:
27
+ ${RSCRIPT} -e 'devtools::test()'
28
0 commit comments