This file is indexed.

/usr/share/doc/r-cran-misctools/tests/colMediansTest.R is in r-cran-misctools 0.6-22-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
library( "miscTools" )


## matrix
m <- matrix( 1:24, nrow = 6, ncol = 4 )

cm1 <- colMedians( m )
print( cm1 )

rm1 <- rowMedians( m )
print( rm1 )

all.equal( cm1, rowMedians( t( m ) ) )
all.equal( rm1, colMedians( t( m ) ) )