/usr/lib/R/site-library/igraph/tests/test_bug-1073800-clique.R is in r-cran-igraph 0.7.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 | context("Bug 1073800")
test_that("Largest cliques is correct", {
library(igraph)
adj <- matrix(1, nrow=11, ncol=11) - diag(11)
g <- graph.adjacency(adj)
lc <- suppressWarnings(largest.cliques(g))
expect_that(lc, equals(list(1:11)))
})
|