tests/testthat/test_data.R

context("data")

test_that("data are correct objects", {
  momspi16S() %>%
    expect_s4_class("phyloseq")

  momspiCytokines() %>%
    expect_s4_class("SummarizedExperiment")

  IBD16S() %>%
    expect_s4_class("phyloseq")

  T2D16S() %>%
    expect_s4_class("phyloseq")

  momspiMultiAssay() %>%
    expect_s4_class("MultiAssayExperiment")
})
dozmorovlab/HMP2Data documentation built on June 5, 2019, 5:12 p.m.