tests/testthat/test-bundle.R

test_that("convert_sc validates format arguments before dispatch", {
  expect_error(
    convert_sc("input", "unsupported", "sce", "output"),
    "Unsupported source format"
  )
  expect_error(
    convert_sc("input", "seurat", "unsupported", "output"),
    "Unsupported destination format"
  )
  expect_error(
    convert_sc("input", "sce", "sce", "output"),
    "Source and destination formats are the same"
  )
})

Try the scFlex package in your browser

Any scripts or data that you put into this service are public.

scFlex documentation built on Sept. 29, 2026, 5:10 p.m.