tests/testthat/test-sample_covariance_matrix.R

test_that("covariance matrix can be sampled", {
  expect_true(
    check_covariance_matrix(sample_covariance_matrix(3))
  )
  expect_true(
    check_covariance_matrix(sample_covariance_matrix(3, diag = TRUE))
  )
})

Try the oeli package in your browser

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

oeli documentation built on Oct. 16, 2024, 5:08 p.m.