tests/testthat/test_INFO2df.R

#
library(testthat)
#detach(package:vcfR, unload=TRUE)
#
library(vcfR)


#
context("INFO2df")


test_that("INFO2df example works",{
  data("vcfR_test")
  myDf <- INFO2df(vcfR_test)
  expect_true(class(myDf) == 'data.frame')
})


test_that("metaINFO2df example works",{
  data("vcfR_test")
  myDf <- metaINFO2df(vcfR_test)
  expect_true(class(myDf) == 'data.frame')
})

Try the vcfR package in your browser

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

vcfR documentation built on May 29, 2024, 10:57 a.m.