tests/testthat/test-load_OrgDb.R

library(GOSemSim)

context("load_OrgDb")

test_that("load OrgDb with package name", {
    db <- load_OrgDb("org.Hs.eg.db")
    expect_true(is(db, "OrgDb"))
})
YuLab-SMU/GOSemSim documentation built on Nov. 2, 2022, 2:57 p.m.