tests/testthat/test-variantInfo.R

test_that("test variantInfo works", {
  skip_on_cran()
  expected_1 <- otargen::variantInfo(variant_id = "1_55039974_G_T")
  expected_2 <- otargen::variantInfo(variant_id = "rs11591147")
  expect_s3_class(expected_1, "data.frame")
  expect_s3_class(expected_2, "data.frame")
  expect_false(is.null(dim(expected_1)))
  expect_false(is.null(dim(expected_2)))
  expect_message(otargen::variantInfo())
})

Try the otargen package in your browser

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

otargen documentation built on Sept. 30, 2024, 9:43 a.m.