This file is indexed.

/usr/lib/R/site-library/igraph/tests/test_independent.vertex.sets.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
10
11
12
13
context("independent.vertex.sets")

test_that("independent.vetex.sets works", {

  library(igraph)
  
  g <- erdos.renyi.game(50, 0.8)
  ivs <- independent.vertex.sets(g, min=independence.number(g))
  ec <- sapply(seq_along(ivs), function(x)
               ecount(induced.subgraph(g, ivs[[x]])))
  expect_that(unique(ec), equals(0))
  
})