tests/testthat/test-WAIC.R

context("compute WAIC")

test_that("WAIC gives correct output", {
   expect_equal(round(computeWAIC(TD$m),1),
                0.5)
})
hmsc-r/HMSC documentation built on March 5, 2025, 10:52 p.m.