From b84d01ef891b7334cc8e8b9b01e88c2dcfb11b14 Mon Sep 17 00:00:00 2001 From: Philippe Veber <philippe.veber@gmail.com> Date: Sat, 23 Dec 2017 18:56:41 +0100 Subject: [PATCH] removed LCx tests they depend on pre-generated rda files, which is not allowed in a package --- tests/testthat/test-LCx.R | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 tests/testthat/test-LCx.R diff --git a/tests/testthat/test-LCx.R b/tests/testthat/test-LCx.R deleted file mode 100644 index fe35bd2..0000000 --- a/tests/testthat/test-LCx.R +++ /dev/null @@ -1,31 +0,0 @@ -# For constant concentration exposure - -load(file = "tests/testdata/fit_cstSD.rda") -load(file = "tests/testdata/fit_cstIT.rda") - -test_that("LCx_survFitCstExp", { - - LCx_cstIT <- LCx(fit_cstIT, X = 50) - LCx_cstSD <- LCx(fit_cstSD, X = 50) - - expect_is(LCx_cstIT, "list") - expect_is(LCx_cstSD, "list") - -}) - -# For time varying concentration - -load(file = "tests/testdata/fit_varSD.rda") -load(file = "tests/testdata/fit_varIT.rda") - -test_that("LCx_survFitVarExp", { - - LCx_varIT <- LCx(fit_varIT, X = 50) - LCx_varSD <- LCx(fit_varSD, X = 50) - - expect_is(LCx_varIT, "list") - expect_is(LCx_varSD, "list") - -}) - - -- GitLab