From feca0008dcf662bba5c728096c4e63b923b8979b Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Mon, 11 May 2020 17:47:36 +0200 Subject: Release to CRAN --- .Rbuildignore | 1 + CRAN-RELEASE | 2 ++ test.log | 6 +++--- tests/testthat/test_analytical.R | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 CRAN-RELEASE diff --git a/.Rbuildignore b/.Rbuildignore index 1434847a..68093922 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -30,3 +30,4 @@ ^docs$ ^_pkgdown\.yml$ ^\.travis\.yml$ +^CRAN-RELEASE$ diff --git a/CRAN-RELEASE b/CRAN-RELEASE new file mode 100644 index 00000000..8f0dde40 --- /dev/null +++ b/CRAN-RELEASE @@ -0,0 +1,2 @@ +This package was submitted to CRAN on 2020-05-11. +Once it is accepted, delete this file and tag the release (commit 28d3fe0f0a). diff --git a/test.log b/test.log index 54f61d9b..94603b7f 100644 --- a/test.log +++ b/test.log @@ -8,13 +8,13 @@ Testing mkin ✔ | 5 | Analytical solutions for coupled models [3.0 s] ✔ | 5 | Calculation of Akaike weights ✔ | 10 | Confidence intervals and p-values [1.0 s] -✔ | 14 | Error model fitting [3.8 s] +✔ | 14 | Error model fitting [3.9 s] ✔ | 4 | Test fitting the decline of metabolites from their maximum [0.2 s] ✔ | 1 | Fitting the logistic model [0.2 s] ✔ | 1 | Test dataset class mkinds used in gmkin ✔ | 12 | Special cases of mkinfit calls [0.6 s] ✔ | 8 | mkinmod model generation and printing [0.2 s] -✔ | 3 | Model predictions with mkinpredict [0.3 s] +✔ | 3 | Model predictions with mkinpredict [0.4 s] ✔ | 16 | Evaluations according to 2015 NAFTA guidance [1.4 s] ✔ | 9 | Nonlinear mixed-effects models [7.5 s] ✔ | 4 | Calculation of maximum time weighted average concentrations (TWAs) [2.4 s] @@ -24,7 +24,7 @@ Testing mkin ✔ | 4 | Residuals extracted from mkinfit models ✔ | 2 | Complex test case from Schaefer et al. (2007) Piacenza paper [1.4 s] ✔ | 1 | Summaries of old mkinfit objects -✔ | 4 | Results for synthetic data established in expertise for UBA (Ranke 2014) [2.4 s] +✔ | 4 | Results for synthetic data established in expertise for UBA (Ranke 2014) [2.3 s] ✔ | 9 | Hypothesis tests [6.5 s] ══ Results ═════════════════════════════════════════════════════════════════════ diff --git a/tests/testthat/test_analytical.R b/tests/testthat/test_analytical.R index 578258d3..6b1b8bb1 100644 --- a/tests/testthat/test_analytical.R +++ b/tests/testthat/test_analytical.R @@ -53,6 +53,7 @@ test_that("The analytical solution for DFOP-SFO are correct", { solution_type = "deSolve", quiet = TRUE) expect_equal( parms(f_dfop_sfo_analytical), - parms(f_dfop_sfo_desolve) + parms(f_dfop_sfo_desolve), + tolerance = 5e-6 ) }) -- cgit v1.2.1