tests/testthat/test_OmicSense.R

test_that("sort", {

  y <- runif(30)
  x <- matrix(runif(30 * 30), 30, 30)

  expect_equal(nrow(os.sort(x, y)), 30)
  expect_equal(ncol(os.sort(x, y)), 30)
})

Try the OmicSense package in your browser

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

OmicSense documentation built on Sept. 23, 2023, 1:06 a.m.