Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
GuangchuangYu committed Oct 18, 2023
1 parent c46f420 commit 7932412
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: clusterProfiler
Type: Package
Title: A universal enrichment tool for interpreting omics data
Version: 4.9.4
Version: 4.9.5
Authors@R: c(
person(given = "Guangchuang", family = "Yu", email = "guangchuangyu@gmail.com", role = c("aut", "cre", "cph"), comment = c(ORCID = "0000-0002-6485-8781")),
person(given = "Li-Gen", family = "Wang", email = "reeganwang020@gmail.com", role = "ctb"),
Expand Down
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ TODO:
- e.g. independent test for different omics data and then combine results
-->


# clusterProfiler 4.9.5

+ fixed R check (2023-10-18, Wed)

# clusterProfiler 4.9.4

+ use `check_installed()` to check package dependency (2023-09-08, Fri, #621)
Expand Down
4 changes: 3 additions & 1 deletion tests/testthat/test-bitr.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ context("bitr")

test_that("bitr", {
expect_true('P22223' %in% bitr('1001', 'ENTREZID', 'UNIPROT', 'org.Hs.eg.db')[,2])
expect_true('P22223' %in% bitr_kegg('1001', 'ncbi-geneid', 'uniprot', 'hsa')[,2])
## maybe network problem
res <- tryCatch(bitr_kegg('1001', 'ncbi-geneid', 'uniprot', 'hsa'), error = function(e) NULL)
if (!is.null(res)) expect_true('P22223' %in% res[,2])
})

0 comments on commit 7932412

Please sign in to comment.