tests/testthat/test-fileFormat.R

test_that("Test dataf_parsr(dataf)", {
  dataf <- dataf_parsr("testdata/bears_taxa.tsv")
  expect_equal(nrow(dataf), 22)
  expect_equal(ncol(dataf), 2)
})

Try the treestartr package in your browser

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

treestartr documentation built on May 1, 2019, 8:03 p.m.