From cb338bea13b3b834bc3b09e6b1014959195f37bb Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Tue, 28 Jun 2016 08:12:05 +0200 Subject: Test the package using devtools to get a test.log --- GNUmakefile | 3 +-- test.log | 25 ++++++++++++++++++------- 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 -- cgit v1.2.1