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. 1, 2024, 4:43 a.m.