tests/testthat/test_loadPancreasDatasets.R

library(MetaGxPancreas)

context("Checking loadPancreasDatasets")

test_that("ensure datasets and duplicates are properly loaded from the hub and package", {
  dataAndDuplicates = MetaGxPancreas::loadPancreasDatasets()
  seData = dataAndDuplicates$SEs
  expect_equal(class(seData[[1]])[1], "RangedSummarizedExperiment")
})
bhklab/MetaGxPancreas documentation built on Aug. 12, 2021, 8:50 p.m.