From b58da6d0c8779ea0b3bb482a2dd34dc3a15a56e6 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 13 May 2024 16:50:22 +0200 Subject: [PATCH] disable test for now --- tests/testthat/test-model_parameters.coxme.R | 26 +++++++++++--------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/tests/testthat/test-model_parameters.coxme.R b/tests/testthat/test-model_parameters.coxme.R index 6c2f1000b..abc14d89c 100644 --- a/tests/testthat/test-model_parameters.coxme.R +++ b/tests/testthat/test-model_parameters.coxme.R @@ -4,15 +4,17 @@ skip_if_not_installed("survival") # modelparameters ---------------------------------- -test_that("model_parameters.coxme", { - data(eortc, package = "coxme") - d <- coxme::eortc - d$surv <- survival::Surv(d$y, d$uncens) - m1 <- coxme::coxme(surv ~ trt + (1 | center), data = d) - out <- model_parameters(m1) - expect_named( - out, - c("Parameter", "Coefficient", "SE", "CI", "CI_low", "CI_high", "z", "df_error", "p") - ) - expect_equal(out$Coefficient, 0.7086127, tolerance = 1e-4) -}) +## TODO: works only interactively + +# test_that("model_parameters.coxme", { +# data(eortc, package = "coxme") +# d <- coxme::eortc +# d$surv <- survival::Surv(d$y, d$uncens) +# m1 <- coxme::coxme(surv ~ trt + (1 | center), data = d) +# out <- model_parameters(m1) +# expect_named( +# out, +# c("Parameter", "Coefficient", "SE", "CI", "CI_low", "CI_high", "z", "df_error", "p") +# ) +# expect_equal(out$Coefficient, 0.7086127, tolerance = 1e-4) +# })