tests/testthat/test.populations.R

context("populations")


test_that("correct info about class structure", {
  data = read.morphodata("../testFiles/sample.txt")

  expect_equal(paste(populations(data)[1:8], collapse = ","), "BABL,BABU,BOL,BRT,BUK,CERM,CERV,CZLE")

})

Try the MorphoTools2 package in your browser

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

MorphoTools2 documentation built on March 7, 2023, 6:18 p.m.