aboutsummaryrefslogtreecommitdiff
path: root/tests/testthat/test_tffm0.R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2022-03-07 12:03:40 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2022-03-07 14:55:21 +0100
commit7035cde3a53781721fe15a8893fdf328c789bdd2 (patch)
treea1e4929faf9d645caedc0ed4dcc5036252497c63 /tests/testthat/test_tffm0.R
parent77c248ca40b82ec00a756cd82f12968131f78959 (diff)
Remove nlmixr interface for release of mkin 1.1.0
I am postponing my attempts to get the nlmixr interface to CRAN, given some problems with nlmixr using R-devel under Windows, see https://github.com/nlmixrdevelopment/nlmixr/issues/596 and https://github.com/r-hub/rhub/issues/512, which is fixed by the removal of nlmixr from the testsuite. For the tests to be more platform independent, the biphasic mixed effects models test dataset was defined in a way that fitting should be more robust (less ill-defined).
Diffstat (limited to 'tests/testthat/test_tffm0.R')
-rw-r--r--tests/testthat/test_tffm0.R10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/testthat/test_tffm0.R b/tests/testthat/test_tffm0.R
deleted file mode 100644
index 82e1ee94..00000000
--- a/tests/testthat/test_tffm0.R
+++ /dev/null
@@ -1,10 +0,0 @@
-test_that("The formation fraction transformation tffm0 is reversible", {
- ff_example <- c(
- 0.10983681, 0.09035905, 0.08399383
- )
- ff_example_trans <- tffm0(ff_example)
- expect_equal(invtffm0(ff_example_trans), ff_example)
-
- ff_ex_2_trans <- c(0.5, 0.9, 0.99)
- expect_true(sum(invtffm0(ff_ex_2_trans)) < 1)
-})

Contact - Imprint