aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile
index fdf9b80..8d2c094 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -27,11 +27,9 @@ pd: roxygen
@echo "DONE."
$(TGZ): $(pkgfiles)
- sed -i -e "s/Date:.*/Date: $(DATE)/" DESCRIPTION
@echo "Roxygenizing package..."
"$(R_HOME)/bin/Rscript" -e 'library(devtools); document()'
@echo "Building package..."
- git log --no-merges -M --date=iso > ChangeLog
"$(R_HOME)/bin/R" CMD build .
@echo "DONE."
@@ -50,6 +48,7 @@ winbin: $(WINBIN)
test: build
@echo "Running testthat tests..."
"$(R_HOME)/bin/Rscript" -e 'library(devtools); devtools::test()' 2>&1 | tee test.log
+ sed -i -e "s/\r.*\r//" test.log
@echo "DONE."
quickcheck: build
@@ -59,7 +58,7 @@ quickcheck: build
check: build
@echo "Running CRAN check..."
- _R_CHECK_CRAN_INCOMING_REMOTE_=false "$(R_HOME)/bin/R" CMD check --as-cran $(TGZ)
+ _R_CHECK_CRAN_INCOMING_REMOTE_=false "$(R_HOME)/bin/R" CMD check --as-cran $(TGZ) --no-tests
@echo "DONE."
install: build

Contact - Imprint