# \donttest{
# 1. Define dummy data inside the example so it runs on CRAN checks
st_dummy <- list(
same_order = TRUE,
combined = data.frame(
FLOOR = rep(c(-1e6, -1e4), each = 2),
fit_id = rep(c("model_1", "model_2"), 2),
elpd = c(-100.1, -101.3, -100.1, -101.3),
elpd_se = c(1.2, 1.3, 1.2, 1.3),
rank_elpd = c(1L, 2L, 1L, 2L)
)
)
# 2. Run the function
print_floor_smoketest(st_dummy)
# }
Run the code above in your browser using DataLab