tests/testthat/test-read.metadata.R

context("Check read.metadata")

test_that("Metadata can be read",{
  f = mockFile(sizeX=16, sizeY=16)
  metadata = read.metadata(f)

  expect_true("coreMetadata" %in% names(metadata))

  # Exercise metadata accessors
  sink(nullfile())
  print(metadata)
  sink()
})
aoles/RBioFormats documentation built on May 3, 2024, 7:46 a.m.