tests/testthat/test-rQuartetDist.cpp.R

test_that("invalid `edge` fails gracefully", {
  expect_error(tqdist_QuartetAgreementEdge(matrix(0, 3, 3), matrix(0, 3, 2)),
               "`edge` must .* two columns")
})

Try the Quartet package in your browser

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

Quartet documentation built on Nov. 1, 2024, 1:07 a.m.