This file is indexed.

/usr/lib/R/site-library/testthat/INDEX is in r-cran-testthat 1.0.2-2.

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
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
CheckReporter           Check reporter: 13 line summary of problems
FailReporter            Test reporter: fail at end.
ListReporter            List reporter: gather all test results along
                        with elapsed time and file information.
MinimalReporter         Test reporter: minimal.
MultiReporter           Multi reporter: combine several reporters in
                        one.
RstudioReporter         Test reporter: RStudio
SilentReporter          Test reporter: gather all errors silently.
StopReporter            Test reporter: stop on error.
SummaryReporter         Test reporter: summary of errors.
TapReporter             Test reporter: TAP format.
TeamcityReporter        Test reporter: Teamcity format.
auto_test               Watches code and tests for changes, rerunning
                        tests as appropriate.
auto_test_package       Watches a package for changes, rerunning tests
                        as appropriate.
compare                 Provide human-readable comparison of two
                        objects
comparison-expectations
                        Expectation: is returned value less or greater
                        than specified value?
context                 Describe the context of a set of tests.
describe                describe: a BDD testing language
equality-expectations   Expectation: is the object equal to a value?
evaluate_promise        Evaluate a promise, capturing all types of
                        output.
expect_cpp_tests_pass   Test Compiled Code in a Package
expect_equal_to_reference
                        Expectation: is the object equal to a reference
                        value stored in a file?
expect_length           Expectation: does a vector have the specified
                        length?
expect_match            Expectation: does
                        string/output/message/warning/error match a
                        regular expression?
expect_named            Expectation: does object have names?
fail                    Default expectations that alway succeed or
                        fail.
inheritance-expectations
                        Expectation: does the object inherit from a S3
                        or S4 class, or a base type?
logical-expectations    Expectation: is the object true/false?
make_expectation        Make an equality test.
output-expectations     Expectation: does code produce
                        output/message/warning/error?
skip                    Skip a test.
source_file             Source a file, directory, or all helpers.
test_dir                Run all of the tests in a directory.
test_examples           Test package examples
test_file               Run all tests in specified file.
test_package            Run all tests in an installed package.
test_path               Locate file in testing directory.
test_that               Create a test.
testthat                R package to make testing fun!
testthat_results        Create a 'testthat_results' object from the
                        test results as stored in the ListReporter
                        results field.
try_again               Try evaluating an expressing multiple times
                        until it succeeds.
use_catch               Use Catch for C++ Unit Testing
watch                   Watch a directory for changes (additions,
                        deletions & modifications).
with_mock               Mock functions in a package.