Skip to content

Commit

Permalink
Remove test of igraph clustering algorithm results
Browse files Browse the repository at this point in the history
  • Loading branch information
brianpatrickneal committed Jan 7, 2024
1 parent 52641a5 commit 23b5efb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: NAIR
Type: Package
Title: Network Analysis of Immune Repertoire
Version: 1.0.2
Version: 1.0.2.9000
Authors@R: c(
person("Brian", "Neal", email = "[email protected]", role = c("aut", "cre")),
person("Hai", "Yang", email = "[email protected]", role = "aut"),
Expand Down
8 changes: 8 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# NAIR, Current Development Version

## Minor Changes and Bug Fixes

* Removed a package test that checked for particular numbers of clusters resulting from specific applications of clustering algorithms from the `igraph` package. The test no longer passes with `igraph` version 1.6.0. Rather than update the test to pass, it has been removed to avoid future occurrences of this issue.



# NAIR 1.0.2

## Minor Changes and Bug Fixes
Expand Down
3 changes: 0 additions & 3 deletions tests/testthat/test_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -719,9 +719,6 @@ test_that("addClusterMembership works", {
expect_true(
.isPosIntegerVector(net$node_data$cluster_leiden, factor_ok = TRUE)
)
expect_equal(
net$details$clusters_in_network, c("fast_greedy" = 20, "leiden" = 55)
)
expect_equal(
net$details$cluster_id_variable,
c("fast_greedy" = "cluster_greedy", "leiden" = "cluster_leiden")
Expand Down

0 comments on commit 23b5efb

Please sign in to comment.