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")
})
jstansfield0/HMP2Data documentation built on Sept. 8, 2020, 2:16 a.m.