tests/testthat/test-get_tree_hatmatrix.R

test_that("vector containing NA's results in error", {
  expect_error(get_hat_matrix_of_tree(c("A", NA, "A")))
})

Try the TSCI package in your browser

Any scripts or data that you put into this service are public.

TSCI documentation built on Oct. 10, 2023, 1:06 a.m.