/usr/lib/R/site-library/Biobase/UnitTests/checkClass_test.R is in r-bioc-biobase 2.20.0-1build1.
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 | testCheckData_S3ExtendedDataFrame<- function() {
df <- data.frame(foo=1:2)
class(df) = c("bar", class(df))
Biobase:::checkClass(df, "data.frame")
checkTrue(TRUE)
}
|