diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2017-07-24 16:31:07 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2017-07-24 16:31:07 +0200 |
commit | a8a2a9d57f40ec7a4fc70df3dc470d88cd10c525 (patch) | |
tree | 50d52cc70ecc8cc106e005f4e0b7f620a639d450 /GNUmakefile | |
parent | 89fc0926722fbfd6420297194c8b18f5b8a9447d (diff) |
Improve Makefile
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile index 959c68f..7951422 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -24,7 +24,7 @@ clean: roxygen: @echo "Roxygenizing package..." - "$(R_HOME)/bin/Rscript" -e 'library(devtools); document()' + "$(R_HOME)/bin/Rscript" -e 'devtools::document()' @echo "DONE." pd: roxygen @@ -36,7 +36,7 @@ pd: roxygen $(TGZ): $(pkgfiles) sed -i -e "s/Date:.*/Date: $(DATE)/" DESCRIPTION @echo "Roxygenizing package..." - "$(R_HOME)/bin/Rscript" -e 'library(devtools); document()' + "$(R_HOME)/bin/Rscript" -e 'devtools::document()' @echo "Building package..." git log --no-merges -M --date=iso > ChangeLog "$(R_HOME)/bin/R" CMD build . > build.log 2>&1 @@ -53,7 +53,7 @@ winbin: $(WINBIN) test: build @echo "Running testthat tests..." - "$(R_HOME)/bin/Rscript" -e 'library(devtools); devtools::test()' 2>&1 | tee test.log + "$(R_HOME)/bin/Rscript" -e 'devtools::test()' 2>&1 | tee test.log @echo "DONE." quickcheck: build |