Skip to content

Commit

Permalink
Resolved TODO, suppressed output on test (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
wleoncio committed Jun 20, 2024
1 parent 52f3c4d commit 03d0aec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-general.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ set.seed(123)
fit <- BayesSurvive(
survObj = dataset, model.type = "Pooled", MRF.G = TRUE,
hyperpar = hyperparPooled, initial = initial,
nIter = 50, burnin = 0, # TODO: speed up once all tests are written
nIter = 50, burnin = 0,
verbose = FALSE
)
pred_1 <- predict(fit, survObj.new = dataset, times = 8.5)
pred_1 <- predict(fit, survObj.new = dataset, times = 8.5, verbose = FALSE)
pred_2 <- predict(fit, survObj.new = dataset, type = c("cumhazard", "survival"))

test_that("fit has properly class and length", {
Expand Down

0 comments on commit 03d0aec

Please sign in to comment.