tests/testthat/test-simData.R

context("simData")

test_that("doTable could work correctly", {
  data("throat.otu.tab")
  data("throat.tree")

  expect_error(simData(tree = throat.tree,
                       data = throat.otu.tab,
                       ratio = 2))

})
markrobinsonuzh/treeAGG documentation built on May 26, 2019, 9:32 a.m.