This file is indexed.

/usr/share/doc/r-cran-pillar/tests/testthat/test-format_factor.R is in r-cran-pillar 1.0.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
context("format_factor")

test_that("output test", {
  expect_pillar_output(xp = factor(c(letters[1:5], NA)), filename = "factor.txt")
  expect_pillar_output(xp = ordered(c(letters[1:5], NA)), filename = "ordered.txt")
  expect_pillar_output(xp = factor("a\nb"), filename = "escaped.txt")
})