tests/testthat/test-ldR.R

context("ldR matrix input")

test_that("the input is a matrix", {
  exmtx=matrix(sample(2,40,replace=T),8,5)[,1]
  expect_error(ldR(exmtx))
})
sdwfrost/popseq documentation built on May 29, 2019, 4:23 p.m.