context("summary.pcoadata")
test_that("correct info about class structure", {
bin = read.morphodata("../testFiles/bin.txt")
pcoaRes = pcoa.calc(bin, distMethod = "jaccard")
output = capture.output(summary(pcoaRes))
expect_equal(output[1], "Object of class 'pcoadata'; storing results of principal coordinates analysis")
expect_equal(output[6], "Eigenvalues 2.1794 1.8067 1.2899 0.7263")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.