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 Feb. 10, 2024, 3:27 a.m.