aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2017-07-24 16:31:07 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2017-07-24 16:31:07 +0200
commita8a2a9d57f40ec7a4fc70df3dc470d88cd10c525 (patch)
tree50d52cc70ecc8cc106e005f4e0b7f620a639d450
parent89fc0926722fbfd6420297194c8b18f5b8a9447d (diff)
Improve Makefile
-rw-r--r--GNUmakefile6
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

Contact - Imprint