aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2016-06-28 08:12:05 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2016-06-28 08:12:05 +0200
commitcb338bea13b3b834bc3b09e6b1014959195f37bb (patch)
tree79235a13771fed9482cbd46dca504934586382ab
parent585a1b1d84c8036192f816566e49099392508a62 (diff)
Test the package using devtools to get a test.log
-rw-r--r--GNUmakefile3
-rw-r--r--test.log25
2 files changed, 19 insertions, 9 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 1a861d13..ad455ae5 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -73,8 +73,7 @@ clean:
$(RM) Rplots.pdf
test: quickinstall
- cd tests;\
- "$(RBIN)/Rscript" testthat.R 2>&1 | tee ../test.log
+ "$(RBIN)/Rscript" -e 'library(devtools); devtools::test(".")' 2>&1 | tee test.log
README.html: README.md
"$(RBIN)/Rscript" -e "rmarkdown::render('README.md', output_format = 'html_document', output_options = list(mathjax = NULL))"
diff --git a/test.log b/test.log
index 9079f341..6276c633 100644
--- a/test.log
+++ b/test.log
@@ -1,7 +1,18 @@
-Lade nötiges Paket: methods
-Lade nötiges Paket: minpack.lm
-Lade nötiges Paket: rootSolve
-Lade nötiges Paket: inline
-Lade nötiges Paket: parallel
-testthat results ================================================================
-OK: 42 SKIPPED: 0 FAILED: 0
+Loading mkin
+Loading required package: testthat
+Loading required package: methods
+Loading required package: minpack.lm
+Loading required package: rootSolve
+Loading required package: inline
+Loading required package: parallel
+Testing mkin
+Calculation of FOCUS chi2 error levels : ..
+Results for FOCUS D established in expertise for UBA (Ranke 2014) : ......
+The t-test for significant difference from zero : ..
+Fitting the FOMC model with large parameter correlation : S
+Model predictions with mkinpredict : ...
+Fitting of parent only models : .....................
+Complex test case from Schaefer et al. (2007) Piacenza paper : ..
+Results for synthetic data established in expertise for UBA (Ranke 2014) : ....
+
+DONE

Contact - Imprint