diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2019-02-25 21:18:11 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2019-02-25 21:18:11 +0100 |
commit | 885ea2cd3392e57efff72e5094643917d6ba2be8 (patch) | |
tree | 16a1f565e07dfef561ef37b5207d40e2d4db3f07 | |
parent | a9285f356f92e45dfec43ab6ad06d65b1ffe08d1 (diff) |
Fixes for last commit
-rw-r--r-- | tests/testthat/test_FOCUS_D_UBA_expertise.R | 2 | ||||
-rw-r--r-- | tests/testthat/test_parent_only.R | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/testthat/test_FOCUS_D_UBA_expertise.R b/tests/testthat/test_FOCUS_D_UBA_expertise.R index be6a8c9f..ff2c6f5f 100644 --- a/tests/testthat/test_FOCUS_D_UBA_expertise.R +++ b/tests/testthat/test_FOCUS_D_UBA_expertise.R @@ -51,6 +51,8 @@ test_that("Fits with formation fractions are correct for FOCUS D", { c(7.02, 23.33)) expect_equal(round(as.numeric(endpoints(fit.ff)$distimes["m1", ]), 1), c(131.8, 437.7)) + # The following value is not from the UBA expertise, only used here + # to check stability of the AIC calculation expect_equivalent(AIC(fit.ff), 212.6, scale = 1, tolerance = 0.1) }) diff --git a/tests/testthat/test_parent_only.R b/tests/testthat/test_parent_only.R index 572047b7..7521e145 100644 --- a/tests/testthat/test_parent_only.R +++ b/tests/testthat/test_parent_only.R @@ -1,4 +1,4 @@ -# Copyright (C) 2015,2018,2019 Johannes Ranke +# Copyright (C) 2015,2018 Johannes Ranke # Contact: jranke@uni-bremen.de # This file is part of the R package mkin |