tests/testthat/test-image_df.R

test_that("Data is installed", {

  if ("sri24" %in% installed.packages()[, "Package"]) {
    expect_is(sri24_image_df(), "data.frame")
  } else {
    expect_is(sri24_image_df(), "NULL")
  }
})
neuroconductor-devel-releases/sri24 documentation built on May 6, 2020, 4:31 p.m.