tests/testthat/test-getKingdomAssemblySummary.R

context("Test: getKingdomAssemblySummary()")

test_that("The getKingdomAssemblySummary() interface works properly
          for NCBI RefSeq..",{
    skip_on_cran()
    skip_on_travis()
    # KingdomAssembly Summary Info file retrieval from RefSeq
    all <- getKingdomAssemblySummary("refseq")
    expect_false(nrow(all) == 0)
})


test_that("The getKingdomAssemblySummary() interface works properly
          for NCBI Genbank..",{
    skip_on_cran()
    skip_on_travis()
    # KingdomAssembly Summary Info file retrieval from Genbank
    all <- getKingdomAssemblySummary("genbank")
    expect_false(nrow(all) == 0)
})

Try the biomartr package in your browser

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

biomartr documentation built on Oct. 25, 2023, 1:08 a.m.