From f630472990fa3437f451bf46741bade79b26b455 Mon Sep 17 00:00:00 2001 From: athowes Date: Mon, 23 Sep 2024 14:36:25 -0400 Subject: [PATCH] Fix final obs_t use --- tests/testthat/test-latent_lognormal.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-latent_lognormal.R b/tests/testthat/test-latent_lognormal.R index cc8e963a9..4b35f1a61 100644 --- a/tests/testthat/test-latent_lognormal.R +++ b/tests/testthat/test-latent_lognormal.R @@ -26,7 +26,7 @@ test_that("posterior_predict_latent_lognormal can generate predictions with no c fit <- readRDS( system.file("extdata/fit.rds", package = "epidist") ) - draws <- data.frame(obs_t = 1000, pwindow = 0, swindow = 0) |> + draws <- data.frame(relative_obs_time = 1000, pwindow = 0, swindow = 0) |> tidybayes::add_predicted_draws(fit, ndraws = 100) expect_equal(draws$.draw, 1:100) pred <- draws$.prediction