This file is indexed.

/usr/lib/R/site-library/igraph/tests/test_graph.isoclass.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
14
15
16
17
context("graph.isoclass")

test_that("graph.isoclass works", {

  library(igraph)

  g1 <- graph.isocreate(3, 10)
  g2 <- graph.isocreate(3, 11)
  expect_that(graph.isoclass(g1), equals(10))
  expect_that(graph.isoclass(g2), equals(11))

  g1 <- add.vertices(g1, 3)
  expect_that(graph.isoclass.subgraph(g1, 1:3), equals(10))
  expect_that(graph.isoclass.subgraph(g1 %du% g2, 1:3), equals(10))
  expect_that(graph.isoclass.subgraph(g1 %du% g2, 7:9), equals(11))

})