This file is indexed.

/usr/share/doc/r-cran-r.methodss3/tests/getDispatchMethodS3.R is in r-cran-r.methodss3 1.7.0-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
library("R.methodsS3")

message("TESTING: getDispatchMethodS3()...")

fcn <- getDispatchMethodS3("print", "default")
print(fcn)

tryCatch({
  fcn <- getDispatchMethodS3("print", "unknown")
  print(fcn)
}, error = function(ex) {
  print(ex)
})

message("TESTING: getDispatchMethodS3()...DONE")