context("Various checks")
test_that("fixes NA coefficients", {
coefs <- c(1.2, NA_real_)
expect_equal(check_na_coef(coefs), c(1.2, 0))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.